Skip to content

Commit

Permalink
BTN_ENC_EN for many boards (MarlinFirmware#19890)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
3 people authored and zillarob committed Feb 25, 2021
1 parent bb59851 commit 54f1f34
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Marlin/src/pins/samd/pins_RAMPS_144.h
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,10 @@
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
#endif

#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
#endif

#endif // HAS_WIRED_LCD

//
Expand Down
4 changes: 4 additions & 0 deletions Marlin/src/pins/stm32f1/pins_CHITU3D.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,4 +287,8 @@
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
#endif

#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
#endif

#endif // HAS_WIRED_LCD
4 changes: 4 additions & 0 deletions Marlin/src/pins/stm32f1/pins_STM32F1R.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,8 @@
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
#endif

#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
#endif

#endif // HAS_WIRED_LCD

0 comments on commit 54f1f34

Please sign in to comment.