Replace some constants with N_AXIS.
This commit is contained in:
2
gcode.h
2
gcode.h
@ -72,7 +72,7 @@ typedef struct {
|
||||
int8_t spindle_direction; // 1 = CW, -1 = CCW, 0 = Stop {M3, M4, M5}
|
||||
uint8_t coolant_mode; // 0 = Disable, 1 = Flood Enable {M8, M9}
|
||||
float feed_rate; // Millimeters/min
|
||||
float position[3]; // Where the interpreter considers the tool to be at this point in the code
|
||||
float position[N_AXIS]; // Where the interpreter considers the tool to be at this point in the code
|
||||
uint8_t tool;
|
||||
// uint16_t spindle_speed; // RPM/100
|
||||
uint8_t plane_axis_0,
|
||||
|
Reference in New Issue
Block a user