Skip to content

Commit

Permalink
Merge pull request betaflight#10530 from tstibor/bat_capacity
Browse files Browse the repository at this point in the history
Battery capacity CLI name is bat_capacity not battery_capacity
  • Loading branch information
mikeller authored Feb 8, 2021
2 parents 29f6dd0 + d1a402d commit 2467b32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/Battery.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)).

Expand Down
2 changes: 1 addition & 1 deletion docs/Cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit 2467b32

Please sign in to comment.