mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 16:55:24 +03:00
Add average cell voltage item to OSD tab
This commit is contained in:
parent
8dcf308a89
commit
330a64b6a8
1 changed files with 8 additions and 1 deletions
|
@ -398,6 +398,12 @@ OSD.constants = {
|
|||
default_position: -1,
|
||||
positionable: true,
|
||||
preview: 'LOW VOLTAGE'
|
||||
},
|
||||
AVG_CELL_VOLTAGE: {
|
||||
name: 'AVG_CELL_VOLTAGE',
|
||||
default_position: 12 << 5,
|
||||
positionable: true,
|
||||
preview: '3.98V'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -435,7 +441,8 @@ OSD.chooseFields = function () {
|
|||
if (semver.gte(CONFIG.apiVersion, "1.32.0")) {
|
||||
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
|
||||
F.PID_RATE_PROFILE,
|
||||
F.BATTERY_WARNING
|
||||
F.BATTERY_WARNING,
|
||||
F.AVG_CELL_VOLTAGE
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue