소스 검색

Add required backslash for macro expansion

Scott Lahteine 9 년 전
부모
커밋
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) \

Loading…
취소
저장