Fix kill => disable_all_heaters => print_job_timer.stop (#12146)
- Remove `print_job_timer.stop()` from `disable_all_heaters` - Call `print_job_timer.stop()` for relevant `disable_all_heaters()`. - Split up `kill()` for watchdog interrupt safety
This commit is contained in:
committed by
Scott Lahteine
parent
4cc1c2627e
commit
71e19baf69
@@ -180,7 +180,8 @@ void disable_e_stepper(const uint8_t e);
|
||||
void disable_e_steppers();
|
||||
void disable_all_steppers();
|
||||
|
||||
void kill(PGM_P);
|
||||
void kill(PGM_P const lcd_msg=NULL);
|
||||
void minkill();
|
||||
|
||||
void quickstop_stepper();
|
||||
|
||||
@@ -218,6 +219,12 @@ extern millis_t max_inactive_time, stepper_inactive_time;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
inline void zero_fan_speeds() {
|
||||
#if FAN_COUNT > 0
|
||||
LOOP_L_N(i, FAN_COUNT) fan_speed[i] = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
#if ENABLED(USE_CONTROLLER_FAN)
|
||||
extern uint8_t controllerfan_speed;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user