Skip to content

Commit

Permalink
Merge pull request #12 from tcavenezuela/task/new-data-type-on-radio-…
Browse files Browse the repository at this point in the history
…navigation

feat: Change data type for some radio navigation variables
  • Loading branch information
carl0shd committed Feb 18, 2024
2 parents bf6ab99 + 1c17e3c commit 928a77b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/odd-bats-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@simconnect.js/api': patch
---

Change data type for some radio navigation variables
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ const ATC = {
};

const COM = {
'COM1 STORED FREQUENCY': define(`The stored COM 1/2/3 frequency value.`, BCD16, Int32),
'COM2 STORED FREQUENCY': define(`The stored COM 1/2/3 frequency value.`, BCD16, Int32),
'COM3 STORED FREQUENCY': define(`The stored COM 1/2/3 frequency value.`, BCD16, Int32),
'COM1 STORED FREQUENCY': define(`The stored COM 1/2/3 frequency value.`, MHz, Float64),
'COM2 STORED FREQUENCY': define(`The stored COM 1/2/3 frequency value.`, MHz, Float64),
'COM3 STORED FREQUENCY': define(`The stored COM 1/2/3 frequency value.`, MHz, Float64),
'COM ACTIVE BEARING:index': define(
`Gives the bearing (in degrees) of the active COM station (airport) or a value less than 0 if the station does not belong to an airport. Index is 1, 2 or 3.`,
Degrees,
Expand All @@ -218,7 +218,7 @@ const COM = {
Meters,
Float64
),
'COM ACTIVE FREQUENCY:index': define(`Com frequency. Index is 1, 2 or 3.`, BCD16, Int32),
'COM ACTIVE FREQUENCY:index': define(`Com frequency. Index is 1, 2 or 3.`, MHz, Float64),
'COM ACTIVE FREQ IDENT:index': define(
`The identity of the station that is tuned on the indexed active COM radio. Index is 1, 2, or 3.`,
NullUnit,
Expand Down

0 comments on commit 928a77b

Please sign in to comment.