mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-16 12:55:16 +03:00
Update Docs to correct LC VBAT scale
This commit is contained in:
parent
7c9d3a6058
commit
0e92194239
2 changed files with 3 additions and 3 deletions
|
@ -95,8 +95,8 @@ IPF can be edited using INAV Configurator user interface, of via CLI
|
||||||
| 1 | HOME_DISTANCE | in `meters` |
|
| 1 | HOME_DISTANCE | in `meters` |
|
||||||
| 2 | TRIP_DISTANCE | in `meters` |
|
| 2 | TRIP_DISTANCE | in `meters` |
|
||||||
| 3 | RSSI | |
|
| 3 | RSSI | |
|
||||||
| 4 | VBAT | in `Volts * 10`, eg. `12.1V` is `121` |
|
| 4 | VBAT | in `Volts * 100`, eg. `12.1V` is `1210` |
|
||||||
| 5 | CELL_VOLTAGE | in `Volts * 10`, eg. `12.1V` is `121` |
|
| 5 | CELL_VOLTAGE | in `Volts * 100`, eg. `12.1V` is `1210` |
|
||||||
| 6 | CURRENT | in `Amps * 100`, eg. `9A` is `900` |
|
| 6 | CURRENT | in `Amps * 100`, eg. `9A` is `900` |
|
||||||
| 7 | MAH_DRAWN | in `mAh` |
|
| 7 | MAH_DRAWN | in `mAh` |
|
||||||
| 8 | GPS_SATS | |
|
| 8 | GPS_SATS | |
|
||||||
|
|
|
@ -384,7 +384,7 @@ static int logicConditionGetFlightOperandValue(int operand) {
|
||||||
return constrain(getRSSI() * 100 / RSSI_MAX_VALUE, 0, 99);
|
return constrain(getRSSI() * 100 / RSSI_MAX_VALUE, 0, 99);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LOGIC_CONDITION_OPERAND_FLIGHT_VBAT: // V / 10
|
case LOGIC_CONDITION_OPERAND_FLIGHT_VBAT: // V / 100
|
||||||
return getBatteryVoltage();
|
return getBatteryVoltage();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue