Quellcode durchsuchen

Loosen thermistor table size limit

Co-Authored-By: Aaron Griffith <aargri@gmail.com>
Scott Lahteine vor 6 Jahren
Ursprung
Commit
6b521b6df2
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      Marlin/src/module/thermistor/thermistors.h

+ 2
- 2
Marlin/src/module/thermistor/thermistors.h Datei anzeigen

@@ -203,8 +203,8 @@
203 203
 #endif
204 204
 
205 205
 // The SCAN_THERMISTOR_TABLE macro needs alteration?
206
-static_assert(HEATER_0_TEMPTABLE_LEN < 128 && HEATER_1_TEMPTABLE_LEN < 128 && HEATER_2_TEMPTABLE_LEN < 128 && HEATER_3_TEMPTABLE_LEN < 128 && HEATER_4_TEMPTABLE_LEN < 128 && BEDTEMPTABLE_LEN < 128 && CHAMBERTEMPTABLE_LEN < 128,
207
-  "Temperature conversion tables over 127 entries need special consideration."
206
+static_assert(HEATER_0_TEMPTABLE_LEN < 256 && HEATER_1_TEMPTABLE_LEN < 256 && HEATER_2_TEMPTABLE_LEN < 256 && HEATER_3_TEMPTABLE_LEN < 256 && HEATER_4_TEMPTABLE_LEN < 256 && BEDTEMPTABLE_LEN < 256 && CHAMBERTEMPTABLE_LEN < 256,
207
+  "Temperature conversion tables over 255 entries need special consideration."
208 208
 );
209 209
 
210 210
 // Set the high and low raw values for the heaters

Laden…
Abbrechen
Speichern