Browse Source

Fix auto-power in PID autotune (#19119)

Giuliano Zaro 4 years ago
parent
commit
f67ad6fd70
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/temperature.cpp

+ 1
- 1
Marlin/src/module/temperature.cpp View File

435
     SERIAL_ECHOLNPGM(STR_PID_AUTOTUNE_START);
435
     SERIAL_ECHOLNPGM(STR_PID_AUTOTUNE_START);
436
 
436
 
437
     disable_all_heaters();
437
     disable_all_heaters();
438
+    TERN_(AUTO_POWER_CONTROL, powerManager.power_on());
438
 
439
 
439
     SHV(bias = d = (MAX_BED_POWER) >> 1, bias = d = (PID_MAX) >> 1);
440
     SHV(bias = d = (MAX_BED_POWER) >> 1, bias = d = (PID_MAX) >> 1);
440
 
441
 
444
       LEDColor color = ONHEATINGSTART();
445
       LEDColor color = ONHEATINGSTART();
445
     #endif
446
     #endif
446
 
447
 
447
-    TERN_(AUTO_POWER_CONTROL, powerManager.power_on());
448
     TERN_(NO_FAN_SLOWING_IN_PID_TUNING, adaptive_fan_slowing = false);
448
     TERN_(NO_FAN_SLOWING_IN_PID_TUNING, adaptive_fan_slowing = false);
449
 
449
 
450
     // PID Tuning loop
450
     // PID Tuning loop

Loading…
Cancel
Save