refactor(battery): Auto enable battery drivers

CONFIG_ZMK_BATTERY_NRF_VDDH and CONFIG_ZMK_BATTERY_VOLTAGE_DIVIDER are
now automatically enabled if a DT node with the matching "compatible"
property is present and enabled, so they no longer need to be manually
set for each board.
This commit is contained in:
Joel Spadin
2022-04-18 21:02:20 -05:00
committed by Pete Johanson
parent 6d6efa32f5
commit 11ab52582c
9 changed files with 7 additions and 35 deletions

View File

@@ -22,7 +22,4 @@ config ZMK_BLE
config ZMK_USB
default y
config ZMK_BATTERY_VOLTAGE_DIVIDER
default y
endif # BOARD_NICE60