mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 01:05:15 +03:00
Merge pull request #1118 from leocb/osd-max-g-force-stat
Added suport for OSD Max G-Force Stat
This commit is contained in:
commit
39cf5bc9cc
2 changed files with 9 additions and 1 deletions
|
@ -3556,6 +3556,9 @@
|
||||||
"osdDescStatBattery": {
|
"osdDescStatBattery": {
|
||||||
"message": "Voltage of the battery in real time"
|
"message": "Voltage of the battery in real time"
|
||||||
},
|
},
|
||||||
|
"osdDescStatGForce": {
|
||||||
|
"message": "Max G-Force experienced by the craft"
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
"osdTimerSource": {
|
"osdTimerSource": {
|
||||||
|
|
|
@ -873,6 +873,10 @@ OSD.constants = {
|
||||||
STAT_BATTERY: {
|
STAT_BATTERY: {
|
||||||
name: 'BATTERY_VOLTAGE',
|
name: 'BATTERY_VOLTAGE',
|
||||||
desc: 'osdDescStatBattery'
|
desc: 'osdDescStatBattery'
|
||||||
|
},
|
||||||
|
MAX_G_FORCE: {
|
||||||
|
name: 'MAX_G_FORCE',
|
||||||
|
desc: 'osdDescStatGForce'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ALL_WARNINGS: {
|
ALL_WARNINGS: {
|
||||||
|
@ -1096,7 +1100,8 @@ OSD.chooseFields = function () {
|
||||||
F.USED_MAH,
|
F.USED_MAH,
|
||||||
F.MAX_ALTITUDE,
|
F.MAX_ALTITUDE,
|
||||||
F.BLACKBOX,
|
F.BLACKBOX,
|
||||||
F.BLACKBOX_LOG_NUMBER
|
F.BLACKBOX_LOG_NUMBER,
|
||||||
|
F.MAX_G_FORCE
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue