1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 00:35:26 +03:00

Add tenths of a second OSD timer precision option

This commit is contained in:
Bruce Luckcuck 2019-05-17 14:25:11 -04:00
parent c02fe94c53
commit fa478c9c9d

View file

@ -298,6 +298,9 @@ OSD.generateTimerPreview = function (osd_data, timer_index) {
case 1:
preview += '00:00.00';
break;
case 2:
preview += '00:00.0';
break;
}
return preview;
};
@ -394,7 +397,8 @@ OSD.constants = {
],
TIMER_PRECISION: [
'SECOND',
'HUNDREDTH'
'HUNDREDTH',
'TENTH'
],
AHISIDEBARWIDTHPOSITION: 7,
AHISIDEBARHEIGHTPOSITION: 3,