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 GitHub
parent 5f824c5708
commit 24e18a9fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
#define SERVO0_PIN 27 #ifndef SERVO0_PIN
#undef BEEPER_PIN #define SERVO0_PIN 27
#endif
#if SERVO0_PIN == 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