Add 'BTN_ENC_EN' for SKR V1.4 with DOGM (#19796)
This commit is contained in:
@ -399,6 +399,11 @@
|
||||
#define LCD_PINS_D5 P1_21
|
||||
#define LCD_PINS_D6 P1_22
|
||||
#define LCD_PINS_D7 P1_23
|
||||
|
||||
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
|
||||
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif // !FYSETC_MINI_12864
|
||||
|
@ -147,6 +147,9 @@
|
||||
#if defined(BTN_EN2) && BTN_EN2 >= 0
|
||||
REPORT_NAME_DIGITAL(__LINE__, BTN_EN2)
|
||||
#endif
|
||||
#if defined(BTN_ENC_EN) && BTN_ENC_EN >= 0
|
||||
REPORT_NAME_DIGITAL(__LINE__, BTN_ENC_EN)
|
||||
#endif
|
||||
#if defined(BTN_ENC) && BTN_ENC >= 0
|
||||
REPORT_NAME_DIGITAL(__LINE__, BTN_ENC)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user