aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <[email protected]>2025-05-28 07:05:44 +0100
committerGitHub <[email protected]>2025-05-28 16:05:44 +1000
commitfaf77f1651f7660c55f7a8f2a7b653808a29e0e3 (patch)
treec5f748c34cd64d5001125385e09577a90c058dad
parent2b8aeed02bf131c8943b8dcc66585ce44112fc4e (diff)
downloadqmk_firmware-faf77f1651f7660c55f7a8f2a7b653808a29e0e3.tar.gz
qmk_firmware-faf77f1651f7660c55f7a8f2a7b653808a29e0e3.zip
Fix typo in Battery Driver docs (#25312)
* Fix typo in Battery Driver docs * Update battery.md
-rw-r--r--docs/drivers/battery.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/drivers/battery.md b/docs/drivers/battery.md
index 0bc8e5aec9..e482ffc8b6 100644
--- 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