Move _AXIS macro to macros.h
This commit is contained in:
parent
4eb4476ce6
commit
72776f647b
@ -164,11 +164,6 @@ extern const char axis_codes[XYZE];
|
||||
G38_endstop_hit; // flag from the interrupt handler to indicate if the endstop went active
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The axis order in all axis related arrays is X, Y, Z, E
|
||||
*/
|
||||
#define _AXIS(AXIS) AXIS ##_AXIS
|
||||
|
||||
void enable_all_steppers();
|
||||
void disable_e_stepper(const uint8_t e);
|
||||
void disable_e_steppers();
|
||||
|
@ -29,6 +29,9 @@
|
||||
#define ABC 3
|
||||
#define XYZ 3
|
||||
|
||||
// For use in macros that take a single axis letter
|
||||
#define _AXIS(AXIS) AXIS ##_AXIS
|
||||
|
||||
#define _XMIN_ 100
|
||||
#define _YMIN_ 200
|
||||
#define _ZMIN_ 300
|
||||
|
Loading…
Reference in New Issue
Block a user