Fewer warnings

This commit is contained in:
Scott Lahteine 2021-03-01 06:15:06 -06:00 committed by Scott Lahteine
parent c6e82160e4
commit 7eace53eb7
2 changed files with 1 additions and 1 deletions

View File

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

View File

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