Appy const to manage_inactivity

This commit is contained in:
Scott Lahteine committed 2018-04-08 23:53:55 -05:00
1 parent 816fa9e2b4
commit e143b1252f
2 files changed
+2 -2

No files matched your search

+1 -1
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];
+1 -1
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();