Add parentheses to LCD_CLICKED

This commit is contained in:
Scott Lahteine
2018-11-01 15:05:59 -05:00
parent 42f8b6c530
commit eb5600acd2
3 changed files with 11 additions and 11 deletions

View File

@ -409,14 +409,14 @@
#if ENABLED(REPRAPWORLD_KEYPAD)
#ifdef EN_C
#define LCD_CLICKED ((buttons & EN_C) || REPRAPWORLD_KEYPAD_MOVE_MENU)
#define LCD_CLICKED() ((buttons & EN_C) || REPRAPWORLD_KEYPAD_MOVE_MENU)
#else
#define LCD_CLICKED REPRAPWORLD_KEYPAD_MOVE_MENU
#define LCD_CLICKED() REPRAPWORLD_KEYPAD_MOVE_MENU
#endif
#elif defined(EN_C)
#define LCD_CLICKED (buttons & EN_C)
#define LCD_CLICKED() (buttons & EN_C)
#else
#define LCD_CLICKED false
#define LCD_CLICKED() false
#endif
extern uint8_t lcd_status_update_delay;