From ebe78cb36f1d9e74085a51986e17af4544323d03 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 26 Jan 2015 05:17:08 -0800 Subject: [PATCH] tweak --- Marlin/pins.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Marlin/pins.h b/Marlin/pins.h index e35c0744d3..5697931f5f 100644 --- a/Marlin/pins.h +++ b/Marlin/pins.h @@ -114,19 +114,19 @@ #define _E0_PINS E0_STEP_PIN, E0_DIR_PIN, E0_ENABLE_PIN, HEATER_0_PIN, analogInputToDigitalPin(TEMP_0_PIN), #if EXTRUDERS > 1 #define _E1_PINS E1_STEP_PIN, E1_DIR_PIN, E1_ENABLE_PIN, HEATER_1_PIN, analogInputToDigitalPin(TEMP_1_PIN), + #if EXTRUDERS > 2 + #define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, HEATER_2_PIN, analogInputToDigitalPin(TEMP_2_PIN), + #if EXTRUDERS > 3 + #define _E3_PINS E3_STEP_PIN, E3_DIR_PIN, E3_ENABLE_PIN, HEATER_3_PIN, analogInputToDigitalPin(TEMP_3_PIN), + #else + #define _E3_PINS + #endif + #else + #define _E2_PINS + #endif #else #define _E1_PINS #endif -#if EXTRUDERS > 2 - #define _E2_PINS E2_STEP_PIN, E2_DIR_PIN, E2_ENABLE_PIN, HEATER_2_PIN, analogInputToDigitalPin(TEMP_2_PIN), -#else - #define _E2_PINS -#endif -#if EXTRUDERS > 3 - #define _E3_PINS E3_STEP_PIN, E3_DIR_PIN, E3_ENABLE_PIN, HEATER_3_PIN, analogInputToDigitalPin(TEMP_3_PIN), -#else - #define _E3_PINS -#endif #ifdef X_STOP_PIN #if X_HOME_DIR < 0