1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 17:55:24 +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: case 1:
preview += '00:00.00'; preview += '00:00.00';
break; break;
case 2:
preview += '00:00.0';
break;
} }
return preview; return preview;
}; };
@ -394,7 +397,8 @@ OSD.constants = {
], ],
TIMER_PRECISION: [ TIMER_PRECISION: [
'SECOND', 'SECOND',
'HUNDREDTH' 'HUNDREDTH',
'TENTH'
], ],
AHISIDEBARWIDTHPOSITION: 7, AHISIDEBARWIDTHPOSITION: 7,
AHISIDEBARHEIGHTPOSITION: 3, AHISIDEBARHEIGHTPOSITION: 3,