Explorar el Código

value check was looking at the code

Bob-the-Kuhn hace 8 años
padre
commit
868e7db4ae
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/gcode.h

+ 1
- 1
Marlin/gcode.h Ver fichero

135
     static bool seen(const char c) {
135
     static bool seen(const char c) {
136
       char *p = strchr(command_args, c);
136
       char *p = strchr(command_args, c);
137
       const bool b = !!p;
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
       return b;
139
       return b;
140
     }
140
     }
141
 
141
 

Loading…
Cancelar
Guardar