Merge pull request #9232 from GMagician/1.1.x-ramps-pins-fixup
[1.1.x] Expand RAMP case light possibilities
This commit is contained in:
commit
74c23bf80d
@ -259,7 +259,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN)
|
#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
|
#define CASE_LIGHT_PIN 6 // MUST BE HARDWARE PWM
|
||||||
#elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL) \
|
#elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL) \
|
||||||
&& (ENABLED(PANEL_ONE) || ENABLED(VIKI2) || ENABLED(miniVIKI) || ENABLED(MINIPANEL) || ENABLED(REPRAPWORLD_KEYPAD))) // try to use AUX 2
|
&& (ENABLED(PANEL_ONE) || ENABLED(VIKI2) || ENABLED(miniVIKI) || ENABLED(MINIPANEL) || ENABLED(REPRAPWORLD_KEYPAD))) // try to use AUX 2
|
||||||
|
Loading…
Reference in New Issue
Block a user