Bugfix (#7265)
Fix compile error when UBL is enabled but there is no LCD Panel.
This commit is contained in:
parent
68aea9c01d
commit
e927941c06
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ Stepper stepper; // Singleton
|
|||
|
||||
// public:
|
||||
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL)
|
||||
extern bool ubl_lcd_map_control;
|
||||
#endif
|
||||
|
||||
|
@ -1285,7 +1285,7 @@ void Stepper::finish_and_disable() {
|
|||
}
|
||||
|
||||
void Stepper::quick_stop() {
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTIPANEL)
|
||||
if (!ubl_lcd_map_control)
|
||||
cleaning_buffer_counter = 5000;
|
||||
#else
|
||||
|
|
Reference in a new issue