Bläddra i källkod

🚸 MPCTEMP: Home before cooling (#24434)

Keith Bennett 2 år sedan
förälder
incheckning
fc287b44da
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      Marlin/src/module/temperature.cpp

+ 1
- 1
Marlin/src/module/temperature.cpp Visa fil

918
     MPC_t &constants = hotend.constants;
918
     MPC_t &constants = hotend.constants;
919
 
919
 
920
     // Move to center of bed, just above bed height and cool with max fan
920
     // Move to center of bed, just above bed height and cool with max fan
921
+    gcode.home_all_axes(true);
921
     disable_all_heaters();
922
     disable_all_heaters();
922
     #if HAS_FAN
923
     #if HAS_FAN
923
       zero_fan_speeds();
924
       zero_fan_speeds();
924
       set_fan_speed(ANY(MPC_FAN_0_ALL_HOTENDS, MPC_FAN_0_ACTIVE_HOTEND) ? 0 : active_extruder, 255);
925
       set_fan_speed(ANY(MPC_FAN_0_ALL_HOTENDS, MPC_FAN_0_ACTIVE_HOTEND) ? 0 : active_extruder, 255);
925
       planner.sync_fan_speeds(fan_speed);
926
       planner.sync_fan_speeds(fan_speed);
926
     #endif
927
     #endif
927
-    gcode.home_all_axes(true);
928
     const xyz_pos_t tuningpos = MPC_TUNING_POS;
928
     const xyz_pos_t tuningpos = MPC_TUNING_POS;
929
     do_blocking_move_to(tuningpos);
929
     do_blocking_move_to(tuningpos);
930
 
930
 

Laddar…
Avbryt
Spara