ソースを参照

Use a small unsigned integer type

Richard Wackerbarth 10年前
コミット
ad90e851b3
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      Marlin/configuration_store.cpp

+ 1
- 1
Marlin/configuration_store.cpp ファイルの表示

@@ -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)

読み込み中…
キャンセル
保存