Keep filament runout pin for Creality Melzi (#18504)

This commit is contained in:
InsanityAutomation 2020-07-02 20:32:06 -04:00 committed by GitHub
parent 299d1fea24
commit e401b0c8ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,6 @@
#undef LCD_PINS_D5 #undef LCD_PINS_D5
#undef LCD_PINS_D6 #undef LCD_PINS_D6
#undef LCD_PINS_D7 #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_SDSS 31 // Smart Controller SD card reader (rather than the Melzi)
#define LCD_PINS_RS 28 // ST9720 CS #define LCD_PINS_RS 28 // ST9720 CS
@ -71,6 +70,13 @@
#if ENABLED(BLTOUCH) #if ENABLED(BLTOUCH)
#define SERVO0_PIN 27 #define SERVO0_PIN 27
#undef BEEPER_PIN #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 #endif
#if ENABLED(MINIPANEL) #if ENABLED(MINIPANEL)