Added suport for OSD Max G-Force Stat

10.5.x-maintenance
leocb 2018-07-17 12:30:27 -03:00
parent 606e4045d9
commit bd4f88093f
2 changed files with 9 additions and 1 deletions

View File

@ -3364,6 +3364,9 @@
"osdDescStatBattery": {
"message": "Voltage of the battery in real time"
},
"osdDescStatGForce": {
"message": "Max G-Force experienced by the craft"
},
"osdTimerSource": {

View File

@ -873,6 +873,10 @@ OSD.constants = {
STAT_BATTERY: {
name: 'BATTERY_VOLTAGE',
desc: 'osdDescStatBattery'
},
MAX_G_FORCE: {
name: 'MAX_G_FORCE',
desc: 'osdDescStatGForce'
}
},
ALL_WARNINGS: {
@ -1095,7 +1099,8 @@ OSD.chooseFields = function () {
F.USED_MAH,
F.MAX_ALTITUDE,
F.BLACKBOX,
F.BLACKBOX_LOG_NUMBER
F.BLACKBOX_LOG_NUMBER,
F.MAX_G_FORCE
];
}