浏览代码

Fix wait_for_bed compile error

Scott Lahteine 6 年前
父节点
当前提交
09d6db491a
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      Marlin/src/module/temperature.cpp
  2. 1
    1
      Marlin/src/module/temperature.h

+ 1
- 1
Marlin/src/module/temperature.cpp 查看文件

@@ -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 查看文件

@@ -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

正在加载...
取消
保存