M808 Repeat Markers (#20084)

This commit is contained in:
Scott Lahteine
2020-11-26 21:18:40 -06:00
committed by GitHub
parent c61a311c0d
commit b6a32500c4
16 changed files with 248 additions and 15 deletions

View File

@@ -173,6 +173,10 @@
#include "feature/pause.h"
#endif
#if ENABLED(GCODE_REPEAT_MARKERS)
#include "feature/repeat.h"
#endif
#if ENABLED(POWER_LOSS_RECOVERY)
#include "feature/powerloss.h"
#endif
@@ -435,6 +439,7 @@ bool printingIsPaused() {
void startOrResumeJob() {
if (!printingIsPaused()) {
TERN_(GCODE_REPEAT_MARKERS, repeat.reset());
TERN_(CANCEL_OBJECTS, cancelable.reset());
TERN_(LCD_SHOW_E_TOTAL, e_move_accumulator = 0);
#if BOTH(LCD_SET_PROGRESS_MANUALLY, USE_M73_REMAINING_TIME)