Fix case light logic on Azteeg_X3 boards.

This commit is contained in:
Bob-the-Kuhn
2017-06-01 12:33:24 -05:00
parent 155aa62fb0
commit 9a9bbfc57c
3 changed files with 14 additions and 19 deletions

View File

@ -204,8 +204,7 @@
#define PS_ON_PIN 12
#if !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN)
#undef CASE_LIGHT_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
#define CASE_LIGHT_PIN 6 // MUST BE HARDWARE PWM
#elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL) \