fix(drivers): Avoid build failures for GPIO driver
* Avoid defining the ZMK GPIO drivers lib if none of the drivers are selected.
This commit is contained in:
parent
505c481f6a
commit
b5e73204e8
4 changed files with 6 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ menuconfig GPIO_595
|
|||
default $(dt_compat_enabled,$(DT_COMPAT_ZMK_GPIO_595))
|
||||
depends on SPI
|
||||
select HAS_DTS_GPIO
|
||||
select ZMK_DRIVERS_GPIO
|
||||
help
|
||||
Enable driver for 595 shift register chip using SPI.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue