No lcd_map_control flag in quick_stop
This commit is contained in:
@@ -1219,12 +1219,7 @@ void Stepper::finish_and_disable() {
|
||||
}
|
||||
|
||||
void Stepper::quick_stop() {
|
||||
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL)
|
||||
if (!ubl.lcd_map_control)
|
||||
#endif
|
||||
cleaning_buffer_counter = 5000;
|
||||
|
||||
cleaning_buffer_counter = 5000;
|
||||
DISABLE_STEPPER_DRIVER_INTERRUPT();
|
||||
while (planner.blocks_queued()) planner.discard_current_block();
|
||||
current_block = NULL;
|
||||
|
@@ -77,10 +77,11 @@ class Stepper {
|
||||
static uint32_t motor_current_setting[3];
|
||||
#endif
|
||||
|
||||
static int16_t cleaning_buffer_counter;
|
||||
|
||||
private:
|
||||
|
||||
static uint8_t last_direction_bits; // The next stepping-bits to be output
|
||||
static int16_t cleaning_buffer_counter;
|
||||
|
||||
#if ENABLED(X_DUAL_ENDSTOPS)
|
||||
static bool locked_x_motor, locked_x2_motor;
|
||||
|
Reference in New Issue
Block a user