G6 Direct Stepping (#17853)
This commit is contained in:
@@ -59,6 +59,10 @@
|
||||
#include "gcode/parser.h"
|
||||
#include "gcode/queue.h"
|
||||
|
||||
#if ENABLED(DIRECT_STEPPING)
|
||||
#include "feature/direct_stepping.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(TOUCH_BUTTONS)
|
||||
#include "feature/touch/xpt2046.h"
|
||||
#endif
|
||||
@@ -713,6 +717,9 @@ void idle(TERN_(ADVANCED_PAUSE_FEATURE, bool no_stepper_sleep/*=false*/)) {
|
||||
|
||||
// Handle Joystick jogging
|
||||
TERN_(POLL_JOG, joystick.inject_jog_moves());
|
||||
|
||||
// Direct Stepping
|
||||
TERN_(DIRECT_STEPPING, page_manager.write_responses());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1124,6 +1131,10 @@ void setup() {
|
||||
SETUP_RUN(max7219.init());
|
||||
#endif
|
||||
|
||||
#if ENABLED(DIRECT_STEPPING)
|
||||
SETUP_RUN(page_manager.init());
|
||||
#endif
|
||||
|
||||
marlin_state = MF_RUNNING;
|
||||
|
||||
SETUP_LOG("setup() completed.");
|
||||
|
||||
Reference in New Issue
Block a user