logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git
commit: faf77f1651f7660c55f7a8f2a7b653808a29e0e3
parent 2b8aeed02bf131c8943b8dcc66585ce44112fc4e
Author: Joel Challis <git@zvecr.com>
Date:   Wed, 28 May 2025 07:05:44 +0100

Fix typo in Battery Driver docs (#25312)

* Fix typo in Battery Driver docs

* Update battery.md

Diffstat:

Mdocs/drivers/battery.md4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/drivers/battery.md b/docs/drivers/battery.md @@ -36,8 +36,8 @@ The following `#define`s apply only to the `adc` driver: |-----------------------------|--------------|--------------------------------------------------------------| |`BATTERY_PIN` |*Not defined* |The GPIO pin connected to the voltage divider. | |`BATTERY_REF_VOLTAGE_MV` |`3300` |The ADC reverence voltage, in millivolts. | -|`BATTERY_VOLTAGE_DIVIDER_R1` |`100000` |The voltage divider resistance, in kOhm. Set to 0 to disable. | -|`BATTERY_VOLTAGE_DIVIDER_R1` |`100000` |The voltage divider resistance, in kOhm. Set to 0 to disable. | +|`BATTERY_VOLTAGE_DIVIDER_R1` |`100` |The voltage divider resistance, in kOhm. Set to 0 to disable. | +|`BATTERY_VOLTAGE_DIVIDER_R2` |`100` |The voltage divider resistance, in kOhm. Set to 0 to disable. | |`BATTERY_ADC_RESOLUTION` |`10` |The ADC resolution configured for the ADC Driver. | ## Functions