Browse Source

Apply const to manage_inactivity

Scott Lahteine 6 years ago
parent
commit
56486c5c0e
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/src/Marlin.cpp
  2. 1
    1
      Marlin/src/Marlin.h

+ 1
- 1
Marlin/src/Marlin.cpp View File

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

+ 1
- 1
Marlin/src/Marlin.h View File

@@ -40,7 +40,7 @@ void idle(
40 40
   #endif
41 41
 );
42 42
 
43
-void manage_inactivity(bool ignore_stepper_queue = false);
43
+void manage_inactivity(const bool ignore_stepper_queue=false);
44 44
 
45 45
 #if HAS_X2_ENABLE
46 46
   #define  enable_X() do{ X_ENABLE_WRITE( X_ENABLE_ON); X2_ENABLE_WRITE( X_ENABLE_ON); }while(0)

Loading…
Cancel
Save