Loosen thermistor table size limit

Co-Authored-By: Aaron Griffith <aargri@gmail.com>
This commit is contained in:
Scott Lahteine 2018-07-11 19:44:06 -05:00
parent 20761b88e0
commit 6b521b6df2

View file

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