소스 검색

Preferred patch to gcode.h

Scott Lahteine 8 년 전
부모
커밋
a5fa586642
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/gcode.h

+ 1
- 1
Marlin/gcode.h 파일 보기

@@ -135,7 +135,7 @@ public:
135 135
     static bool seen(const char c) {
136 136
       const char *p = strchr(command_args, c);
137 137
       const bool b = !!p;
138
-      if (b) value_ptr = (char*) (DECIMAL_SIGNED(p[1]) ? &p[1] : NULL);
138
+      if (b) value_ptr = DECIMAL_SIGNED(p[1]) ? &p[1] : (char*)NULL;
139 139
       return b;
140 140
     }
141 141
 

Loading…
취소
저장