NOOP macro for do-nothing macros
This commit is contained in:
parent
c2145566c7
commit
c6f1337f5c
2 changed files with 4 additions and 2 deletions
|
|
@ -156,8 +156,8 @@
|
|||
FORCE_INLINE void lcd_reset_alert_level() {}
|
||||
FORCE_INLINE bool lcd_detected(void) { return true; }
|
||||
|
||||
#define LCD_MESSAGEPGM(x) do{}while(0)
|
||||
#define LCD_ALERTMESSAGEPGM(x) do{}while(0)
|
||||
#define LCD_MESSAGEPGM(x) NOOP
|
||||
#define LCD_ALERTMESSAGEPGM(x) NOOP
|
||||
|
||||
#endif //ULTRA_LCD
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue