Browse Source

Fewer warnings

Scott Lahteine 4 years ago
parent
commit
8c9a59c29e

+ 0
- 1
Marlin/src/HAL/LPC1768/inc/Conditionals_post.h View File

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 View File

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

Loading…
Cancel
Save