From 165cb9345275ebd71b3c31455ea63b7132af1882 Mon Sep 17 00:00:00 2001 From: blddk Date: Tue, 23 Oct 2012 17:19:11 +0300 Subject: [PATCH] Wrong sensitive analog pins Analog pins was added with the wrong pin number, needs to be offset +55 to protect against using the pin as a digital --- Sprinter/pins.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sprinter/pins.h b/Sprinter/pins.h index e2d2f89..abbb799 100644 --- a/Sprinter/pins.h +++ b/Sprinter/pins.h @@ -899,7 +899,7 @@ //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}; +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+55, TEMP_1_PIN+55, TEMP_2_PIN+55, TEMP_BED_PIN+55}; #endif