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

@@ -25,9 +25,6 @@ config ZMK_BLE
config ZMK_USB
default y
config ZMK_BATTERY_VOLTAGE_DIVIDER
default y
config ZMK_KEYBOARD_NAME
default "BT60"