Browse Source

Fix wait_for_bed compile error

Scott Lahteine 6 years ago
parent
commit
09d6db491a
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Marlin/src/module/temperature.cpp
  2. 1
    1
      Marlin/src/module/temperature.h

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

2607
       #define MIN_COOLING_SLOPE_TIME_BED 60
2607
       #define MIN_COOLING_SLOPE_TIME_BED 60
2608
     #endif
2608
     #endif
2609
 
2609
 
2610
-    bool Temperature::wait_for_bed(const bool no_wait_for_cooling
2610
+    bool Temperature::wait_for_bed(const bool no_wait_for_cooling/*=true*/
2611
       #if G26_CLICK_CAN_CANCEL
2611
       #if G26_CLICK_CAN_CANCEL
2612
         , const bool click_to_cancel/*=false*/
2612
         , const bool click_to_cancel/*=false*/
2613
       #endif
2613
       #endif

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

465
         static void start_watching_bed();
465
         static void start_watching_bed();
466
       #endif
466
       #endif
467
 
467
 
468
-      static bool wait_for_bed(const bool no_wait_for_cooling
468
+      static bool wait_for_bed(const bool no_wait_for_cooling=true
469
         #if G26_CLICK_CAN_CANCEL
469
         #if G26_CLICK_CAN_CANCEL
470
           , const bool click_to_cancel=false
470
           , const bool click_to_cancel=false
471
         #endif
471
         #endif

Loading…
Cancel
Save