Skip to content

Commit

Permalink
drivers/st7735: fix inconsistency in dependency modeling
Browse files Browse the repository at this point in the history
In KConfig `MODULE_ST7789` now is hidden module that automatically
gets selected when `HAVE_ST7789` is selected in `MODULE_ST7735` is used.
  • Loading branch information
maribu committed Jul 9, 2023
1 parent 69fb00b commit a811de8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions drivers/st7735/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ config HAVE_ST7735
Indicates that an ST7735 display is present.

config MODULE_ST7789
bool "ST7789 display driver"
select MODULE_ST7735
bool
depends on HAVE_ST7789
default y if MODULE_ST7735
help
ST7789 display driver

config HAVE_ST7789
bool
select MODULE_ST7789 if MODULE_DISP_DEV
select MODULE_ST7735 if MODULE_DISP_DEV
help
Indicates that an ST7789 display is present.

Expand Down

0 comments on commit a811de8

Please sign in to comment.