|
@@ -660,7 +660,7 @@ void lcd_update() {
|
660
|
660
|
// Handle any queued Move Axis motion
|
661
|
661
|
manage_manual_move();
|
662
|
662
|
|
663
|
|
- // Update button states for LCD_CLICKED, etc.
|
|
663
|
+ // Update button states for LCD_CLICKED(), etc.
|
664
|
664
|
// After state changes the next button update
|
665
|
665
|
// may be delayed 300-500ms.
|
666
|
666
|
lcd_buttons_update();
|
|
@@ -673,7 +673,7 @@ void lcd_update() {
|
673
|
673
|
#endif
|
674
|
674
|
|
675
|
675
|
// If the action button is pressed...
|
676
|
|
- if (UBL_CONDITION && LCD_CLICKED) {
|
|
676
|
+ if (UBL_CONDITION && LCD_CLICKED()) {
|
677
|
677
|
if (!wait_for_unclick) { // If not waiting for a debounce release:
|
678
|
678
|
wait_for_unclick = true; // Set debounce flag to ignore continous clicks
|
679
|
679
|
lcd_clicked = !wait_for_user && !no_reentry; // Keep the click if not waiting for a user-click
|
|
@@ -1102,7 +1102,7 @@ void lcd_reset_alert_level() { lcd_status_message_level = 0; }
|
1102
|
1102
|
#endif
|
1103
|
1103
|
|
1104
|
1104
|
#if ENABLED(AUTO_BED_LEVELING_UBL) || ENABLED(G26_MESH_VALIDATION)
|
1105
|
|
- bool is_lcd_clicked() { return LCD_CLICKED; }
|
|
1105
|
+ bool is_lcd_clicked() { return LCD_CLICKED(); }
|
1106
|
1106
|
void wait_for_release() {
|
1107
|
1107
|
while (is_lcd_clicked()) safe_delay(50);
|
1108
|
1108
|
safe_delay(50);
|