1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Move _AXIS macro to macros.h

This commit is contained in:
Scott Lahteine 2018-03-19 17:59:50 -05:00
parent 4eb4476ce6
commit 72776f647b
2 changed files with 3 additions and 5 deletions

View File

@ -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();

View File

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