mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-20 13:05:20 -05:00
Added a driver which uses the nRF52's ADC channel on the VDDH pin to read the battery voltage when using high voltage mode.
5 lines
170 B
CMake
5 lines
170 B
CMake
# Copyright (c) 2020-2021 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
add_subdirectory_ifdef(CONFIG_ZMK_BATTERY battery)
|
|
add_subdirectory_ifdef(CONFIG_EC11 ec11) |