Replace some constants with N_AXIS.

This commit is contained in:
Alexander Danilov
2013-01-10 02:22:45 +04:00
parent 53286744d5
commit 7c6162b90a
6 changed files with 11 additions and 11 deletions

View File

@ -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,