Fix #8537
This commit is contained in:
parent
ff800e08fd
commit
59a699063a
1 changed files with 4 additions and 3 deletions
|
|
@ -4607,10 +4607,11 @@ void lcd_update() {
|
||||||
|
|
||||||
lcd_buttons_update();
|
lcd_buttons_update();
|
||||||
|
|
||||||
#if ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(G26_MESH_VALIDATION)
|
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||||
const bool UBL_CONDITION = lcd_external_control;
|
// Don't run the debouncer if UBL owns the display
|
||||||
|
#define UBL_CONDITION !lcd_external_control
|
||||||
#else
|
#else
|
||||||
constexpr bool UBL_CONDITION = true;
|
#define UBL_CONDITION true
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// If the action button is pressed...
|
// If the action button is pressed...
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue