fix: Proper battery sensor Kconfig dependencies.
Properly make the battery sensor Kconfig symbols depend on `SENSOR` config, and minor battery reporting Kconfig symbol dependency fix.
This commit is contained in:
parent
51a4be8935
commit
ee1e135104
2 changed files with 3 additions and 1 deletions
|
@ -500,7 +500,7 @@ config ZMK_SETTINGS_SAVE_DEBOUNCE
|
|||
endif
|
||||
|
||||
config ZMK_BATTERY_REPORT_INTERVAL
|
||||
depends on ZMK_BLE
|
||||
depends on ZMK_BATTERY_REPORTING
|
||||
int "Battery level report interval in seconds"
|
||||
default 60
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ config ZMK_BATTERY_NRF_VDDH
|
|||
default $(dt_compat_enabled,$(DT_COMPAT_ZMK_BATTERY_NRF_VDDH))
|
||||
select ADC
|
||||
select ZMK_BATTERY
|
||||
depends on SENSOR
|
||||
help
|
||||
Enable ZMK nRF VDDH voltage driver for battery monitoring.
|
||||
|
||||
|
@ -22,5 +23,6 @@ config ZMK_BATTERY_VOLTAGE_DIVIDER
|
|||
default $(dt_compat_enabled,$(DT_COMPAT_ZMK_BATTERY_VOLTAGE_DIVIDER))
|
||||
select ADC
|
||||
select ZMK_BATTERY
|
||||
depends on SENSOR
|
||||
help
|
||||
Enable ZMK battery voltage divider driver for battery monitoring.
|
||||
|
|
Loading…
Add table
Reference in a new issue