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 (#1443)

Add tenths of a second OSD timer precision option
This commit is contained in:
Michael Keller 2019-05-19 12:47:21 +12:00 committed by GitHub
commit 23a0189539
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,