Browse Source

Fewer warnings

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
8c9a59c29e
  1. 1
      Marlin/src/HAL/LPC1768/inc/Conditionals_post.h
  2. 1
      Marlin/src/module/printcounter.cpp

1
Marlin/src/HAL/LPC1768/inc/Conditionals_post.h

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

1
Marlin/src/module/printcounter.cpp

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

Loading…
Cancel
Save