Appy const to manage_inactivity

This commit is contained in:
Scott Lahteine 2018-04-08 03:58:35 -05:00
parent 816fa9e2b4
commit e143b1252f
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ void idle(
#endif #endif
); );
void manage_inactivity(bool ignore_stepper_queue = false); void manage_inactivity(const bool ignore_stepper_queue=false);
extern const char axis_codes[XYZE]; extern const char axis_codes[XYZE];

View File

@ -13616,7 +13616,7 @@ void disable_all_steppers() {
* - Check if cooling fan needs to be switched on * - Check if cooling fan needs to be switched on
* - Check if an idle but hot extruder needs filament extruded (EXTRUDER_RUNOUT_PREVENT) * - Check if an idle but hot extruder needs filament extruded (EXTRUDER_RUNOUT_PREVENT)
*/ */
void manage_inactivity(bool ignore_stepper_queue/*=false*/) { void manage_inactivity(const bool ignore_stepper_queue/*=false*/) {
#if ENABLED(FILAMENT_RUNOUT_SENSOR) #if ENABLED(FILAMENT_RUNOUT_SENSOR)
runout.run(); runout.run();