|
@ -4931,7 +4931,7 @@ void lcd_reset_alert_level() { lcd_status_message_level = 0; } |
|
|
#define encrot3 1 |
|
|
#define encrot3 1 |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#define GET_BUTTON_STATES(DST) \ |
|
|
#define GET_SHIFT_BUTTON_STATES(DST) \ |
|
|
uint8_t new_##DST = 0; \ |
|
|
uint8_t new_##DST = 0; \ |
|
|
WRITE(SHIFT_LD, LOW); \ |
|
|
WRITE(SHIFT_LD, LOW); \ |
|
|
WRITE(SHIFT_LD, HIGH); \ |
|
|
WRITE(SHIFT_LD, HIGH); \ |
|
@ -5033,13 +5033,15 @@ void lcd_reset_alert_level() { lcd_status_message_level = 0; } |
|
|
|
|
|
|
|
|
#elif ENABLED(REPRAPWORLD_KEYPAD) |
|
|
#elif ENABLED(REPRAPWORLD_KEYPAD) |
|
|
|
|
|
|
|
|
GET_BUTTON_STATES(buttons_reprapworld_keypad); |
|
|
GET_SHIFT_BUTTON_STATES(buttons_reprapworld_keypad); |
|
|
|
|
|
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#else |
|
|
#else // !NEWPANEL
|
|
|
GET_BUTTON_STATES(buttons); |
|
|
|
|
|
#endif // !NEWPANEL
|
|
|
GET_SHIFT_BUTTON_STATES(buttons); |
|
|
|
|
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
} // next_button_update_ms
|
|
|
} // next_button_update_ms
|
|
|
|
|
|
|
|
|