From d1a402d9b4f5fddb9c7c9b06ed19f0dbc6150f0f Mon Sep 17 00:00:00 2001 From: Thomas Stibor Date: Thu, 4 Feb 2021 13:32:49 +0100 Subject: [PATCH] Battery capacity CLI name is bat_capacity not battery_capacity CLI set/get parameter for battery capacity is bat_capacity. --- docs/Battery.md | 2 +- docs/Cli.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Battery.md b/docs/Battery.md index c8d7008898f..f9f856ceb39 100644 --- a/docs/Battery.md +++ b/docs/Battery.md @@ -101,7 +101,7 @@ Configure the current meter type using the `amperage_meter_type` settings here: | ADC | ADC/hardware sensor | | VIRTUAL | Virtual sensor | -Configure capacity using the `battery_capacity` setting, in mAh units. +Configure capacity using the `bat_capacity` setting, in mAh units. If you're using an OSD that expects the multiwii current meter output value, then set `multiwii_amperage_meter_output` to `ON` (this multiplies amperage sent to MSP by 10 and truncates negative values)). diff --git a/docs/Cli.md b/docs/Cli.md index 3eccdfaf41c..46512c0f1fb 100644 --- a/docs/Cli.md +++ b/docs/Cli.md @@ -175,7 +175,7 @@ Click on a variable to jump to the relevant documentation page. | `frsky_unit` | IMPERIAL (default), METRIC | | | IMPERIAL | Master | UINT8 | | [`frsky_vfas_precision`](Telemetry.md) | Set to 1 to send raw VBat value in 0.1V resolution for receivers that can handle it, or 0 (default) to use the standard method | 0 | 1 | 0 | Master | UINT8 | | `hott_alarm_sound_interval` | Battery alarm delay in seconds for Hott telemetry | 0 | 120 | 5 | Master | UINT8 | -| [`battery_capacity`](Battery.md) | Battery capacity in mAH. This value is used in conjunction with the current meter to determine remaining battery capacity. | 0 | 20000 | 0 | Master | UINT16 | +| [`bat_capacity`](Battery.md) | Battery capacity in mAH. This value is used in conjunction with the current meter to determine remaining battery capacity. | 0 | 20000 | 0 | Master | UINT16 | | [`vbat_scale`](Battery.md) | Result is Vbatt in 0.1V steps. 3.3V = ADC Vref, 4095 = 12bit adc, 110 = 11:1 voltage divider (10k:1k) x 10 for 0.1V. Adjust this slightly if reported pack voltage is different from multimeter reading. You can get current voltage by typing "status" in cli. | 0 | 255 | 110 | Master | UINT8 | | [`vbat_max_cell_voltage`](Battery.md) | Maximum voltage per cell, used for auto-detecting battery voltage in 0.1V units, default is 43 (4.3V) | 10 | 50 | 43 | Master | UINT8 | | [`vbat_min_cell_voltage`](Battery.md) | Minimum voltage per cell, this triggers battery-critical alarms, in 0.1V units, default is 33 (3.3V) | 10 | 50 | 33 | Master | UINT8 |