No lcd_map_control needed in quick_stop
This commit is contained in:
parent
3b30cc90f1
commit
574153a810
3 changed files with 20 additions and 16 deletions
|
|
@ -1224,12 +1224,7 @@ void Stepper::finish_and_disable() {
|
|||
}
|
||||
|
||||
void Stepper::quick_stop() {
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL)
|
||||
if (!ubl.lcd_map_control)
|
||||
cleaning_buffer_counter = 5000;
|
||||
#else
|
||||
cleaning_buffer_counter = 5000;
|
||||
#endif
|
||||
cleaning_buffer_counter = 5000;
|
||||
DISABLE_STEPPER_DRIVER_INTERRUPT();
|
||||
while (planner.blocks_queued()) planner.discard_current_block();
|
||||
current_block = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue