Commit aa275606 authored by MagoKimbra's avatar MagoKimbra

Fix manage inactivity

parent eb09f322
...@@ -103,7 +103,7 @@ FORCE_INLINE void serialprintPGM(const char *str) ...@@ -103,7 +103,7 @@ FORCE_INLINE void serialprintPGM(const char *str)
void get_command(); void get_command();
void process_commands(); void process_commands();
void manage_inactivity(); void manage_inactivity(bool ignore_stepper_queue=false);
#if defined(DUAL_X_CARRIAGE) && defined(X_ENABLE_PIN) && X_ENABLE_PIN > -1 \ #if defined(DUAL_X_CARRIAGE) && defined(X_ENABLE_PIN) && X_ENABLE_PIN > -1 \
&& defined(X2_ENABLE_PIN) && X2_ENABLE_PIN > -1 && defined(X2_ENABLE_PIN) && X2_ENABLE_PIN > -1
......
...@@ -4904,7 +4904,7 @@ Sigma_Exit: ...@@ -4904,7 +4904,7 @@ Sigma_Exit:
while(!lcd_clicked()){ while(!lcd_clicked()){
cnt++; cnt++;
manage_heater(); manage_heater();
manage_inactivity(); manage_inactivity(true);
lcd_update(); lcd_update();
if(cnt==0) if(cnt==0)
{ {
...@@ -5779,7 +5779,7 @@ void handle_status_leds(void) ...@@ -5779,7 +5779,7 @@ void handle_status_leds(void)
} }
#endif // TEMP_STAT_LEDS #endif // TEMP_STAT_LEDS
void manage_inactivity() void manage_inactivity(bool ignore_stepper_queue/*=false*/) //default argument set in Marlin.h
{ {
#if defined(KILL_PIN) && KILL_PIN > -1 #if defined(KILL_PIN) && KILL_PIN > -1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment