File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 5753
5753
"message" : " Custom message 4 from external device" ,
5754
5754
"description" : " Description of the custom message 4 element of the OSD"
5755
5755
},
5756
+ "osdTextElementAngleOfAttack" : {
5757
+ "message" : " Angle of attack" ,
5758
+ "description" : " One of the elements of the OSD"
5759
+ },
5760
+ "osdDescElementAngleOfAttack" : {
5761
+ "message" : " Angle of attack" ,
5762
+ "description" : " Description of the angle of attack element of the OSD"
5763
+ },
5756
5764
"osdTextElementOnTime" : {
5757
5765
"message" : " On time" ,
5758
5766
"description" : " One of the elements of the OSD"
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ SYM.loadSymbols = function () {
84
84
SYM . ROLL = 0x14 ;
85
85
SYM . KM = 0x7d ;
86
86
SYM . MILES = 0x7e ;
87
+ SYM . ANGLE_OF_ATTACK = 0x40 ;
87
88
} ;
88
89
89
90
FONT . initData = function ( ) {
@@ -1578,6 +1579,15 @@ OSD.loadDisplayFields = function () {
1578
1579
positionable : true ,
1579
1580
preview : "CUSTOM MSG4" ,
1580
1581
} ,
1582
+ ANGLE_OF_ATTACK : {
1583
+ name : "ANGLE_OF_ATTACK" ,
1584
+ text : "osdTextElementAngleOfAttack" ,
1585
+ desc : "osdDescElementAngleOfAttack" ,
1586
+ defaultPosition : - 1 ,
1587
+ draw_order : 610 ,
1588
+ positionable : true ,
1589
+ preview : `${ FONT . symbol ( SYM . ANGLE_OF_ATTACK ) } -00.0` ,
1590
+ } ,
1581
1591
} ;
1582
1592
1583
1593
if ( semver . gte ( FC . CONFIG . apiVersion , API_VERSION_1_47 ) ) {
@@ -2024,6 +2034,7 @@ OSD.chooseFields = function () {
2024
2034
F . CUSTOM_MSG1 ,
2025
2035
F . CUSTOM_MSG2 ,
2026
2036
F . CUSTOM_MSG3 ,
2037
+ F . ANGLE_OF_ATTACK ,
2027
2038
] ) ;
2028
2039
}
2029
2040
// Choose statistic fields
You can’t perform that action at this time.
0 commit comments