瀏覽代碼

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

Costs 1328B of FLASH, something must be wrong.
Marek Bel 4 年之前
父節點
當前提交
d398aa1e3f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Firmware/Marlin_main.cpp

+ 1 - 1
Firmware/Marlin_main.cpp

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