Update/extend Quiet Probing (#22205)

This commit is contained in:
cr20-123
2021-06-26 14:17:18 -04:00
committed by Scott Lahteine
parent 0fbd8c52bb
commit b1bcb387fa
4 changed files with 20 additions and 9 deletions

View File

@ -245,6 +245,7 @@ xyz_pos_t Probe::offset; // Initialized by settings.load()
void Probe::set_probing_paused(const bool dopause) {
TERN_(PROBING_HEATERS_OFF, thermalManager.pause_heaters(dopause));
TERN_(PROBING_FANS_OFF, thermalManager.set_fans_paused(dopause));
TERN_(PROBING_ESTEPPERS_OFF, if (dopause) disable_e_steppers());
#if ENABLED(PROBING_STEPPERS_OFF)
IF_DISABLED(DELTA, static uint8_t old_trusted);
if (dopause) {
@ -253,7 +254,7 @@ xyz_pos_t Probe::offset; // Initialized by settings.load()
DISABLE_AXIS_X();
DISABLE_AXIS_Y();
#endif
disable_e_steppers();
IF_DISABLED(PROBING_ESTEPPERS_OFF, disable_e_steppers());
}
else {
#if DISABLED(DELTA)