Browse Source

Allow SERVO0_PIN override on Creality Melzi (#21007)

vanilla_fb_2.0.x
Alexander D. Kanevskiy 4 years ago
committed by GitHub
parent
commit
24e18a9fbd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      Marlin/src/pins/sanguino/pins_MELZI_CREALITY.h

8
Marlin/src/pins/sanguino/pins_MELZI_CREALITY.h

@ -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

Loading…
Cancel
Save