Skip to content

Commit

Permalink
Keep filament runout pin for Creality Melzi (#18504)
Browse files Browse the repository at this point in the history
  • Loading branch information
InsanityAutomation authored Jul 3, 2020
1 parent 299d1fe commit e401b0c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Marlin/src/pins/sanguino/pins_MELZI_CREALITY.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
#undef LCD_PINS_D5
#undef LCD_PINS_D6
#undef LCD_PINS_D7
#undef FIL_RUNOUT_PIN // Uses Beeper/LED Pin Pulled to GND

#define LCD_SDSS 31 // Smart Controller SD card reader (rather than the Melzi)
#define LCD_PINS_RS 28 // ST9720 CS
Expand All @@ -71,6 +70,13 @@
#if ENABLED(BLTOUCH)
#define SERVO0_PIN 27
#undef BEEPER_PIN
#elif ENABLED(FILAMENT_RUNOUT_SENSOR)
#ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN 27
#endif
#if FIL_RUNOUT_PIN == BEEPER_PIN
#undef BEEPER_PIN
#endif
#endif

#if ENABLED(MINIPANEL)
Expand Down

0 comments on commit e401b0c

Please sign in to comment.