Add enum for ALL_AXES

This commit is contained in:
Scott Lahteine 2016-09-11 20:14:41 -05:00
parent 413b61e64a
commit 21514568fd

View File

@ -42,7 +42,8 @@ enum AxisEnum {
E_AXIS = 3, E_AXIS = 3,
X_HEAD = 4, X_HEAD = 4,
Y_HEAD = 5, Y_HEAD = 5,
Z_HEAD = 6 Z_HEAD = 6,
ALL_AXES = 100
}; };
#define LOOP_XYZ(VAR) for (uint8_t VAR=X_AXIS; VAR<=Z_AXIS; VAR++) #define LOOP_XYZ(VAR) for (uint8_t VAR=X_AXIS; VAR<=Z_AXIS; VAR++)