瀏覽代碼

Convert two PID_autotune strings to PROGMEM

Yuri D'Elia 3 年之前
父節點
當前提交
c15d599f71
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Firmware/temperature.cpp

+ 2 - 2
Firmware/temperature.cpp

@@ -235,13 +235,13 @@ void __attribute__((noinline)) PID_autotune(float temp, int extruder, int ncycle
        ||(extruder < 0)
   #endif
        ){
-          SERIAL_ECHOLN("PID Autotune failed. Bad extruder number.");
+          SERIAL_ECHOLNPGM("PID Autotune failed. Bad extruder number.");
 		  pid_tuning_finished = true;
 		  pid_cycle = 0;
           return;
         }
 	
-  SERIAL_ECHOLN("PID Autotune start");
+  SERIAL_ECHOLNPGM("PID Autotune start");
   
   disable_heater(); // switch off all heaters.