Browse Source

Apply const to manage_inactivity

Scott Lahteine 7 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
  *  - Check if cooling fan needs to be switched on
326
  *  - Check if cooling fan needs to be switched on
327
  *  - Check if an idle but hot extruder needs filament extruded (EXTRUDER_RUNOUT_PREVENT)
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
   #if ENABLED(FILAMENT_RUNOUT_SENSOR)
331
   #if ENABLED(FILAMENT_RUNOUT_SENSOR)
332
     runout.run();
332
     runout.run();

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

40
   #endif
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
 #if HAS_X2_ENABLE
45
 #if HAS_X2_ENABLE
46
   #define  enable_X() do{ X_ENABLE_WRITE( X_ENABLE_ON); X2_ENABLE_WRITE( X_ENABLE_ON); }while(0)
46
   #define  enable_X() do{ X_ENABLE_WRITE( X_ENABLE_ON); X2_ENABLE_WRITE( X_ENABLE_ON); }while(0)

Loading…
Cancel
Save