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,7 +2607,7 @@ void Temperature::isr() {
2607 2607
       #define MIN_COOLING_SLOPE_TIME_BED 60
2608 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 2611
       #if G26_CLICK_CAN_CANCEL
2612 2612
         , const bool click_to_cancel/*=false*/
2613 2613
       #endif

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

@@ -465,7 +465,7 @@ class Temperature {
465 465
         static void start_watching_bed();
466 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 469
         #if G26_CLICK_CAN_CANCEL
470 470
           , const bool click_to_cancel=false
471 471
         #endif

Loading…
Cancel
Save