BTN_ENC_EN for many boards (#19890)

Enables CHECK_ENCODER_ACTIVE_SIGNAL for many more boards.

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
Co-authored-by: Jason Smith <jason.inet@gmail.com>
This commit is contained in:
Gurmeet Athwal
2020-11-21 13:17:04 +05:30
committed by GitHub
parent 7e902b7e29
commit 6851909f90
42 changed files with 191 additions and 0 deletions

View File

@ -181,6 +181,11 @@
#define LCD_PINS_D7 71
#define BTN_EN1 14
#define BTN_EN2 72
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
#endif
#endif
#define BTN_ENC 9 // AUX-2

View File

@ -194,6 +194,10 @@
#define SD_DETECT_PIN 15
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
#endif
#endif // IS_ULTIPANEL || TOUCH_UI_ULTIPANEL || TOUCH_UI_FTDI_EVE
#endif // HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL || TOUCH_UI_FTDI_EVE

View File

@ -187,6 +187,10 @@
#endif // !MINIRAMBO_10A
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
#endif
#endif // IS_ULTIPANEL || TOUCH_UI_ULTIPANEL
#endif // HAS_WIRED_LCD || TOUCH_UI_ULTIPANEL

View File

@ -228,6 +228,10 @@
#endif // !VIKI2 && !miniVIKI
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
#endif
#else // !IS_NEWPANEL - old style panel with shift register
// No Beeper added