File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 57535753 "message" : " Custom message 4 from external device" ,
57545754 "description" : " Description of the custom message 4 element of the OSD"
57555755 },
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+ },
57565764 "osdTextElementOnTime" : {
57575765 "message" : " On time" ,
57585766 "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 () {
8484 SYM . ROLL = 0x14 ;
8585 SYM . KM = 0x7d ;
8686 SYM . MILES = 0x7e ;
87+ SYM . ANGLE_OF_ATTACK = 0x40 ;
8788} ;
8889
8990FONT . initData = function ( ) {
@@ -1578,6 +1579,15 @@ OSD.loadDisplayFields = function () {
15781579 positionable : true ,
15791580 preview : "CUSTOM MSG4" ,
15801581 } ,
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+ } ,
15811591 } ;
15821592
15831593 if ( semver . gte ( FC . CONFIG . apiVersion , API_VERSION_1_47 ) ) {
@@ -2024,6 +2034,7 @@ OSD.chooseFields = function () {
20242034 F . CUSTOM_MSG1 ,
20252035 F . CUSTOM_MSG2 ,
20262036 F . CUSTOM_MSG3 ,
2037+ F . ANGLE_OF_ATTACK ,
20272038 ] ) ;
20282039 }
20292040 // Choose statistic fields
You can’t perform that action at this time.
0 commit comments