Replace some constants with N_AXIS.
This commit is contained in:
parent
53286744d5
commit
7c6162b90a
6 changed files with 11 additions and 11 deletions
2
gcode.c
2
gcode.c
|
|
@ -98,7 +98,7 @@ uint8_t gc_execute_line(char *line)
|
|||
uint8_t absolute_override = false; // true(1) = absolute motion for this block only {G53}
|
||||
uint8_t non_modal_action = NON_MODAL_NONE; // Tracks the actions of modal group 0 (non-modal)
|
||||
|
||||
float target[3], offset[3];
|
||||
float target[N_AXIS], offset[N_AXIS];
|
||||
clear_vector(target); // XYZ(ABC) axes parameters.
|
||||
clear_vector(offset); // IJK Arc offsets are incremental. Value of zero indicates no change.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue