remove SPI class from libs/spi as everything now uses mbed::spi
[clinton/Smoothieware.git] / src / libs / nuts_bolts.h
index bb3adac..932f208 100644 (file)
@@ -24,6 +24,10 @@ along with Grbl. If not, see <http://www.gnu.org/licenses/>.
 #define X_AXIS 0
 #define Y_AXIS 1
 #define Z_AXIS 2
+#define E_AXIS 3
+#define A_AXIS 3
+#define B_AXIS 4
+#define C_AXIS 5
 
 #define ALPHA_STEPPER 0
 #define BETA_STEPPER 1
@@ -32,13 +36,5 @@ along with Grbl. If not, see <http://www.gnu.org/licenses/>.
 #define EPSILON_STEPPER 4
 #define ZETA_STEPPER 5
 
-#define clear_vector(a) memset(a, 0, sizeof(a))
-#define clear_vector_float(a) memset(a, 0, sizeof(a))
-
-#define confine(value, min, max) (((value) < (min))?(min):(((value) > (max))?(max):(value)))
-
-#define dd(...) LPC_GPIO2->FIODIR = 0xffff; LPC_GPIO2->FIOCLR = 0xffff; LPC_GPIO2->FIOSET = __VA_ARGS__
-
-
 #endif