Allow SERVO0_PIN override on Creality Melzi (#21007)

This commit is contained in:
Alexander D. Kanevskiy 2021-02-08 06:44:49 +02:00 committed by Scott Lahteine
parent 86fd38ef42
commit 13f0e4729c

View File

@ -68,8 +68,12 @@
#define LCD_PINS_D4 30 // ST9720 CLK #define LCD_PINS_D4 30 // ST9720 CLK
#if ENABLED(BLTOUCH) #if ENABLED(BLTOUCH)
#ifndef SERVO0_PIN
#define SERVO0_PIN 27 #define SERVO0_PIN 27
#endif
#if SERVO0_PIN == BEEPER_PIN
#undef BEEPER_PIN #undef BEEPER_PIN
#endif
#elif ENABLED(FILAMENT_RUNOUT_SENSOR) #elif ENABLED(FILAMENT_RUNOUT_SENSOR)
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 27 #define FIL_RUNOUT_PIN 27