Skip PINDA_THERMISTOR block in PINDA probe temperature calibration if PINDA_THERMISTOR is not detected.

Costs 1328B of FLASH, something must be wrong.
This commit is contained in:
Marek Bel 2020-06-16 00:44:59 +02:00
parent 23cc22bc22
commit d398aa1e3f

View File

@ -4580,7 +4580,7 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
case 76: case 76:
{ {
#ifdef PINDA_THERMISTOR #ifdef PINDA_THERMISTOR
if (true) if (has_temperature_compensation())
{ {
if (calibration_status() >= CALIBRATION_STATUS_XYZ_CALIBRATION) { if (calibration_status() >= CALIBRATION_STATUS_XYZ_CALIBRATION) {