Fewer warnings

2.0.x
Scott Lahteine 4 years ago committed by Scott Lahteine
parent c6e82160e4
commit 7eace53eb7

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

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

Loading…
Cancel
Save