ソースを参照

Add required backslash for macro expansion

Scott Lahteine 10年前
コミット
4938ae5caf
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp ファイルの表示

1026
 
1026
 
1027
 #define menu_edit_type(_type, _name, _strFunc, scale) \
1027
 #define menu_edit_type(_type, _name, _strFunc, scale) \
1028
     bool menu_edit_ ## _name () { \
1028
     bool menu_edit_ ## _name () { \
1029
-      bool isClicked = LCD_CLICKED;
1029
+      bool isClicked = LCD_CLICKED; \
1030
       if ((int32_t)encoderPosition < 0) encoderPosition = 0; \
1030
       if ((int32_t)encoderPosition < 0) encoderPosition = 0; \
1031
       if ((int32_t)encoderPosition > maxEditValue) encoderPosition = maxEditValue; \
1031
       if ((int32_t)encoderPosition > maxEditValue) encoderPosition = maxEditValue; \
1032
       if (lcdDrawUpdate) \
1032
       if (lcdDrawUpdate) \

読み込み中…
キャンセル
保存