瀏覽代碼

Fewer warnings

Scott Lahteine 3 年之前
父節點
當前提交
8c9a59c29e
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 0
    1
      Marlin/src/HAL/LPC1768/inc/Conditionals_post.h
  2. 1
    0
      Marlin/src/module/printcounter.cpp

+ 0
- 1
Marlin/src/HAL/LPC1768/inc/Conditionals_post.h 查看文件

@@ -30,6 +30,5 @@
30 30
 // LPC1768 boards seem to lose steps when saving to EEPROM during print (issue #20785)
31 31
 // TODO: Which other boards are incompatible?
32 32
 #if defined(MCU_LPC1768) && PRINTCOUNTER_SAVE_INTERVAL > 0
33
-  #warning "To prevent step loss, motion will pause for PRINTCOUNTER auto-save."
34 33
   #define PRINTCOUNTER_SYNC 1
35 34
 #endif

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

@@ -43,6 +43,7 @@ Stopwatch print_job_timer;      // Global Print Job Timer instance
43 43
 
44 44
 #if PRINTCOUNTER_SYNC
45 45
   #include "../module/planner.h"
46
+  #warning "To prevent step loss, motion will pause for PRINTCOUNTER auto-save."
46 47
 #endif
47 48
 
48 49
 // Service intervals

Loading…
取消
儲存