Loosen thermistor table size limit

Co-Authored-By: Aaron Griffith <aargri@gmail.com>
2.0.x
Scott Lahteine 6 years ago
parent 20761b88e0
commit 6b521b6df2

@ -203,8 +203,8 @@
#endif
// The SCAN_THERMISTOR_TABLE macro needs alteration?
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,
"Temperature conversion tables over 127 entries need special consideration."
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,
"Temperature conversion tables over 255 entries need special consideration."
);
// Set the high and low raw values for the heaters

Loading…
Cancel
Save