diff --git a/grbl/config.h b/grbl/config.h index 2774542..0f018b6 100644 --- a/grbl/config.h +++ b/grbl/config.h @@ -43,6 +43,9 @@ #define DEFAULTS_K40 //#define DEFAULTS_FABKIT +// For machines with A axis (like rotation axis) +#define ENABLE_A_AXIS + // Serial baud rate // #define BAUD_RATE 230400 #define BAUD_RATE 115200 diff --git a/grbl/cpu_map.h b/grbl/cpu_map.h index 691c62b..4d4ae20 100644 --- a/grbl/cpu_map.h +++ b/grbl/cpu_map.h @@ -162,7 +162,9 @@ #define X_STEP_BIT 0 #define Y_STEP_BIT 1 #define Z_STEP_BIT 2 - #define A_STEP_BIT 3 + #ifdef ENABLE_A_AXIS + #define A_STEP_BIT 3 + #endif //#define B_STEP_BIT 8 //#define C_STEP_BIT 9 #define STEP_MASK ((1<