formatting
This commit is contained in:
parent
5694310a40
commit
dad9db1b02
6 changed files with 6 additions and 16 deletions
2
gcode.c
2
gcode.c
|
|
@ -394,7 +394,7 @@ uint8_t gc_execute_line(char *line) {
|
|||
// As far as the parser is concerned, the position is now == target. In reality the
|
||||
// motion control system might still be processing the action and the real tool position
|
||||
// in any intermediate location.
|
||||
memcpy(gc.position, target, sizeof(double)*3); // equivalent of: gc.position = target;
|
||||
memcpy(gc.position, target, sizeof(double)*3); // gc.position[] = target[];
|
||||
return(gc.status_code);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue