Skip to content

Commit

Permalink
MPCTEMP: Home all before disabling heater/blasting fans at 100%
Browse files Browse the repository at this point in the history
PREHEAT_BEFORE_PROBING is an important feature for NOZZLE_AS_PROBE configs, so disabling heaters & then blasting fans at 100% isn't ideal.
  • Loading branch information
thisiskeithb committed Jul 1, 2022
1 parent f5488f9 commit 12a7896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/module/temperature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -918,13 +918,13 @@ volatile bool Temperature::raw_temps_ready = false;
MPC_t &constants = hotend.constants;

// Move to center of bed, just above bed height and cool with max fan
gcode.home_all_axes(true);
disable_all_heaters();
#if HAS_FAN
zero_fan_speeds();
set_fan_speed(ANY(MPC_FAN_0_ALL_HOTENDS, MPC_FAN_0_ACTIVE_HOTEND) ? 0 : active_extruder, 255);
planner.sync_fan_speeds(fan_speed);
#endif
gcode.home_all_axes(true);
const xyz_pos_t tuningpos = MPC_TUNING_POS;
do_blocking_move_to(tuningpos);

Expand Down

0 comments on commit 12a7896

Please sign in to comment.