From 3b53c5ada1c24d87f5406e709858e3faa0713fdf Mon Sep 17 00:00:00 2001 From: GMagician Date: Thu, 18 Jan 2018 18:35:08 +0100 Subject: [PATCH] Expand RAMP case light possibilities Pin 6 is only used by servos when 2 or more of them are used --- Marlin/pins_RAMPS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/pins_RAMPS.h b/Marlin/pins_RAMPS.h index 9b10751e5..369959406 100644 --- a/Marlin/pins_RAMPS.h +++ b/Marlin/pins_RAMPS.h @@ -259,7 +259,7 @@ #endif #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN) - #if !defined(NUM_SERVOS) || NUM_SERVOS == 0 // try to use servo connector first + #if !defined(NUM_SERVOS) || NUM_SERVOS <= 1 // try to use servo connector first #define CASE_LIGHT_PIN 6 // MUST BE HARDWARE PWM #elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL) \ && (ENABLED(PANEL_ONE) || ENABLED(VIKI2) || ENABLED(miniVIKI) || ENABLED(MINIPANEL) || ENABLED(REPRAPWORLD_KEYPAD))) // try to use AUX 2