summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Kerman <jkerman@gmail.com>2011-10-28 14:06:42 -0500
committerJoe Kerman <jkerman@gmail.com>2011-10-28 14:06:42 -0500
commit4a9ab499edc962332d83fd99cbe91b7f76f1d0c7 (patch)
treea84a33dde8c63c6ddc653c8cd1105856f8b94bf2
parentd1fe94db18946b707697c0409d06f33209f0effb (diff)
Moved pins.h footer to the end of the file, fixing teensylu support
-rw-r--r--Sprinter/pins.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/Sprinter/pins.h b/Sprinter/pins.h
index 2160335..aa03a39 100644
--- a/Sprinter/pins.h
+++ b/Sprinter/pins.h
@@ -684,15 +684,6 @@
#define SDPOWER -1
#define SDSS 31
-#ifndef KNOWN_BOARD
-#error Unknown MOTHERBOARD value in configuration.h
-#endif
-
-#endif
-
-//List of pins which to ignore when asked to change by gcode, 0 and 1 are RX and TX, do not mess with those!
-const int sensitive_pins[] = {0, 1, X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, E_STEP_PIN, E_DIR_PIN, E_ENABLE_PIN, LED_PIN, PS_ON_PIN, HEATER_0_PIN, HEATER_1_PIN, FAN_PIN, TEMP_0_PIN, TEMP_1_PIN};
-
#endif
/****************************************************************************************
@@ -740,6 +731,7 @@ const int sensitive_pins[] = {0, 1, X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_P
#define LED_PIN -1
#define PS_ON_PIN -1
#define KILL_PIN -1
+#define ALARM_PIN -1
#ifndef SDSUPPORT
// these pins are defined in the SD library if building with SD support
@@ -750,4 +742,14 @@ const int sensitive_pins[] = {0, 1, X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_P
#endif
+#ifndef KNOWN_BOARD
+#error Unknown MOTHERBOARD value in configuration.h
+#endif
+
+
+//List of pins which to ignore when asked to change by gcode, 0 and 1 are RX and TX, do not mess with those!
+const int sensitive_pins[] = {0, 1, X_STEP_PIN, X_DIR_PIN, X_ENABLE_PIN, X_MIN_PIN, X_MAX_PIN, Y_STEP_PIN, Y_DIR_PIN, Y_ENABLE_PIN, Y_MIN_PIN, Y_MAX_PIN, Z_STEP_PIN, Z_DIR_PIN, Z_ENABLE_PIN, Z_MIN_PIN, Z_MAX_PIN, E_STEP_PIN, E_DIR_PIN, E_ENABLE_PIN, LED_PIN, PS_ON_PIN, HEATER_0_PIN, HEATER_1_PIN, FAN_PIN, TEMP_0_PIN, TEMP_1_PIN};
+
+#endif
+