Procházet zdrojové kódy

Merge pull request #6866 from Bob-the-Kuhn/Parser-fix

Parser fix
Bob-the-Kuhn před 8 roky
rodič
revize
f0d545b950
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      Marlin/gcode.h

+ 1
- 1
Marlin/gcode.h Zobrazit soubor

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

Loading…
Zrušit
Uložit