Corrections (#7231)
20x4 map integration. Also some minor changes to the UBL Menu layout. Both 20x4 LCD's and Graphical LCD panels should have similar functionality now.
This commit is contained in:
parent
7fc31a7940
commit
aaacef9441
6 changed files with 484 additions and 95 deletions
|
|
@ -62,6 +62,10 @@ Stepper stepper; // Singleton
|
|||
|
||||
// public:
|
||||
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||
extern bool ubl_lcd_map_control;
|
||||
#endif
|
||||
|
||||
block_t* Stepper::current_block = NULL; // A pointer to the block currently being traced
|
||||
|
||||
#if ENABLED(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
|
||||
|
|
@ -1281,7 +1285,12 @@ void Stepper::finish_and_disable() {
|
|||
}
|
||||
|
||||
void Stepper::quick_stop() {
|
||||
cleaning_buffer_counter = 5000;
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||
if (!ubl_lcd_map_control)
|
||||
cleaning_buffer_counter = 5000;
|
||||
#else
|
||||
cleaning_buffer_counter = 5000;
|
||||
#endif
|
||||
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