mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-25 17:25:16 +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:
commit
23a0189539
1 changed files with 5 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue