Browse Source

Use a small unsigned integer type

Richard Wackerbarth 9 years ago
parent
commit
ad90e851b3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/configuration_store.cpp

+ 1
- 1
Marlin/configuration_store.cpp View File

@@ -168,7 +168,7 @@ void Config_StoreSettings()  {
168 168
     EEPROM_WRITE_VAR(i, mesh_num_x);
169 169
     EEPROM_WRITE_VAR(i, mesh_num_y);
170 170
     dummy = 0.0f;
171
-    for (uint q=0; q<mesh_num_x*mesh_num_y; q++) EEPROM_WRITE_VAR(i, dummy);
171
+    for (uint8_t q=0; q<mesh_num_x*mesh_num_y; q++) EEPROM_WRITE_VAR(i, dummy);
172 172
   #endif // MESH_BED_LEVELING
173 173
 
174 174
   #if DISABLED(ENABLE_AUTO_BED_LEVELING)

Loading…
Cancel
Save