浏览代码

Fewer warnings

Scott Lahteine 4 年前
父节点
当前提交
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
 // LPC1768 boards seem to lose steps when saving to EEPROM during print (issue #20785)
30
 // LPC1768 boards seem to lose steps when saving to EEPROM during print (issue #20785)
31
 // TODO: Which other boards are incompatible?
31
 // TODO: Which other boards are incompatible?
32
 #if defined(MCU_LPC1768) && PRINTCOUNTER_SAVE_INTERVAL > 0
32
 #if defined(MCU_LPC1768) && PRINTCOUNTER_SAVE_INTERVAL > 0
33
-  #warning "To prevent step loss, motion will pause for PRINTCOUNTER auto-save."
34
   #define PRINTCOUNTER_SYNC 1
33
   #define PRINTCOUNTER_SYNC 1
35
 #endif
34
 #endif

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

43
 
43
 
44
 #if PRINTCOUNTER_SYNC
44
 #if PRINTCOUNTER_SYNC
45
   #include "../module/planner.h"
45
   #include "../module/planner.h"
46
+  #warning "To prevent step loss, motion will pause for PRINTCOUNTER auto-save."
46
 #endif
47
 #endif
47
 
48
 
48
 // Service intervals
49
 // Service intervals

正在加载...
取消
保存