Add Max fft to OSD stats.

10.5.x-maintenance
Kenneth Mitchell 2018-12-27 19:49:27 -06:00
parent de5d9cdc50
commit 6d113066c6
2 changed files with 9 additions and 2 deletions

View File

@ -3661,7 +3661,9 @@
"osdDescStatFlightDistance": {
"message": "Total distance travelled during the flight"
},
"osdDescStatMaxFFT": {
"message": "Peak FFT frequency"
},
"osdTimerSource": {
"message": "Source:"

View File

@ -938,6 +938,10 @@ OSD.constants = {
FLIGHT_DISTANCE: {
name: 'FLIGHT_DISTANCE',
desc: 'osdDescStatFlightDistance'
},
MAX_FFT: {
name: 'MAX_FFT',
desc: 'osdDescStatMaxFFT'
}
},
ALL_WARNINGS: {
@ -1178,7 +1182,8 @@ OSD.chooseFields = function () {
F.MAX_ESC_TEMP,
F.MAX_ESC_RPM,
F.MIN_LINK_QUALITY,
F.FLIGHT_DISTANCE
F.FLIGHT_DISTANCE,
F.MAX_FFT
]);
}
}