Pārlūkot izejas kodu

Fix wait_for_bed compile error

Scott Lahteine 6 gadus atpakaļ
vecāks
revīzija
09d6db491a

+ 1
- 1
Marlin/src/module/temperature.cpp Parādīt failu

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 Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt