From 563c90f6ffc172ee671abe634ae87b3c250c7be8 Mon Sep 17 00:00:00 2001 From: blddk Date: Tue, 2 Aug 2011 23:47:30 +0300 Subject: Added a list of pins which will be ignored by manual change through M42 --- Sprinter/pins.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Sprinter/pins.h') diff --git a/Sprinter/pins.h b/Sprinter/pins.h index 720f3a9..9c38bed 100644 --- a/Sprinter/pins.h +++ b/Sprinter/pins.h @@ -495,4 +495,7 @@ #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 -- cgit v1.2.1