Add MKS Robin E3P, improve LVGL UI (#19442)

This commit is contained in:
makerbase
2020-09-21 09:55:02 +08:00
committed by GitHub
parent 77b06dce0c
commit d8ed749045
94 changed files with 12687 additions and 2984 deletions

View File

@ -253,6 +253,13 @@ class Stepper {
static bool initialized;
#endif
// Last-moved extruder, as set when the last movement was fetched from planner
#if HAS_MULTI_EXTRUDER
static uint8_t last_moved_extruder;
#else
static constexpr uint8_t last_moved_extruder = 0;
#endif
private:
static block_t* current_block; // A pointer to the block currently being traced
@ -262,13 +269,6 @@ class Stepper {
static bool abort_current_block; // Signals to the stepper that current block should be aborted
// Last-moved extruder, as set when the last movement was fetched from planner
#if HAS_MULTI_EXTRUDER
static uint8_t last_moved_extruder;
#else
static constexpr uint8_t last_moved_extruder = 0;
#endif
#if ENABLED(X_DUAL_ENDSTOPS)
static bool locked_X_motor, locked_X2_motor;
#endif