Add required backslash for macro expansion

master
Scott Lahteine 10 years ago
parent e182cdebf9
commit 4938ae5caf

@ -1026,7 +1026,7 @@ void lcd_sdcard_menu() {
#define menu_edit_type(_type, _name, _strFunc, scale) \ #define menu_edit_type(_type, _name, _strFunc, scale) \
bool menu_edit_ ## _name () { \ bool menu_edit_ ## _name () { \
bool isClicked = LCD_CLICKED; bool isClicked = LCD_CLICKED; \
if ((int32_t)encoderPosition < 0) encoderPosition = 0; \ if ((int32_t)encoderPosition < 0) encoderPosition = 0; \
if ((int32_t)encoderPosition > maxEditValue) encoderPosition = maxEditValue; \ if ((int32_t)encoderPosition > maxEditValue) encoderPosition = maxEditValue; \
if (lcdDrawUpdate) \ if (lcdDrawUpdate) \

Loading…
Cancel
Save