1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

Add required backslash for macro expansion

This commit is contained in:
Scott Lahteine 2015-02-23 20:10:49 -08:00
parent e182cdebf9
commit 4938ae5caf

View File

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