0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-07-03 04:10:54 +00:00

No lcd_map_control flag in quick_stop

This commit is contained in:
Scott Lahteine 2017-12-06 21:28:50 -06:00
parent 840289e7cc
commit 9898b96992
3 changed files with 22 additions and 17 deletions
Marlin/src/module

View file

@ -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;