Merge pull request #6782 from bgort/azteegtweak

Tweak Azteeg X3 PRO _pins.h so Viki2 will work for those without a case light
This commit is contained in:
Scott Lahteine 2017-05-18 15:26:16 -05:00 committed by GitHub
commit 5970fe72d1

View file

@ -144,9 +144,11 @@
// //
// Misc. Functions // Misc. Functions
// //
#undef DOGLCD_A0 // steal pin 44 for the case light
#define DOGLCD_A0 57
#if ENABLED(OK_TO_CHANGE_CASE_LIGHT) #if ENABLED(OK_TO_CHANGE_CASE_LIGHT)
#undef DOGLCD_A0 // steal pin 44 for the case light; if you have a Viki2 and have connected it
#define DOGLCD_A0 57 // following the Panucatt wiring diagram, you may need to tweak these pin assignments
// as the wiring diagram uses pin 44 for DOGLCD_A0
#undef CASE_LIGHT_PIN #undef CASE_LIGHT_PIN
#define CASE_LIGHT_PIN 44 // must have a hardware PWM #define CASE_LIGHT_PIN 44 // must have a hardware PWM
#endif #endif