From e143b1252fb54d5dfbd7e5a86f578a8c7bdf95b0 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 8 Apr 2018 03:58:35 -0500 Subject: [PATCH] Appy const to manage_inactivity --- Marlin/Marlin.h | 2 +- Marlin/Marlin_main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/Marlin.h b/Marlin/Marlin.h index 961917cd9..a161682c5 100644 --- a/Marlin/Marlin.h +++ b/Marlin/Marlin.h @@ -50,7 +50,7 @@ void idle( #endif ); -void manage_inactivity(bool ignore_stepper_queue = false); +void manage_inactivity(const bool ignore_stepper_queue=false); extern const char axis_codes[XYZE]; diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 72560c608..e965274af 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -13616,7 +13616,7 @@ void disable_all_steppers() { * - Check if cooling fan needs to be switched on * - 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) runout.run();