|
|
@ -187,6 +187,10 @@ volatile bool wait_for_heatup = true;
|
|
|
|
volatile bool wait_for_user = false;
|
|
|
|
volatile bool wait_for_user = false;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if HAS_AUTO_REPORTING
|
|
|
|
|
|
|
|
bool suspend_auto_report; // = false
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// Inactivity shutdown
|
|
|
|
// Inactivity shutdown
|
|
|
|
millis_t max_inactive_time = 0,
|
|
|
|
millis_t max_inactive_time = 0,
|
|
|
|
stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL;
|
|
|
|
stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL;
|
|
|
@ -519,10 +523,6 @@ void idle(
|
|
|
|
gcode.host_keepalive();
|
|
|
|
gcode.host_keepalive();
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(AUTO_REPORT_TEMPERATURES) && (HAS_TEMP_HOTEND || HAS_TEMP_BED)
|
|
|
|
|
|
|
|
thermalManager.auto_report_temperatures();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
manage_inactivity(
|
|
|
|
manage_inactivity(
|
|
|
|
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
|
|
|
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
|
|
|
no_stepper_sleep
|
|
|
|
no_stepper_sleep
|
|
|
@ -547,13 +547,20 @@ void idle(
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#if ENABLED(AUTO_REPORT_SD_STATUS)
|
|
|
|
|
|
|
|
card.auto_report_sd_status();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef HAL_IDLETASK
|
|
|
|
#ifdef HAL_IDLETASK
|
|
|
|
HAL_idletask();
|
|
|
|
HAL_idletask();
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if HAS_AUTO_REPORTING
|
|
|
|
|
|
|
|
if (!suspend_auto_report) {
|
|
|
|
|
|
|
|
#if ENABLED(AUTO_REPORT_TEMPERATURES)
|
|
|
|
|
|
|
|
thermalManager.auto_report_temperatures();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if ENABLED(AUTO_REPORT_SD_STATUS)
|
|
|
|
|
|
|
|
card.auto_report_sd_status();
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|