Skip to content

Commit 8a61e97

Browse files
committed
feat: update for NAVFoundation v3+
1 parent 7fe8adc commit 8a61e97

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"dependencies": [
1515
{
16-
"version": "^2.1.0",
16+
"version": "^3.2.2",
1717
"url": "github.com/Norgate-AV/NAVFoundation.Amx"
1818
}
1919
]

src/mSVSIDecoder.axs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ DEFINE_TYPE
7575
(***********************************************************)
7676
DEFINE_VARIABLE
7777

78+
volatile _NAVModule module
79+
7880
(***********************************************************)
7981
(* LATCHING DEFINITIONS GO BELOW *)
8082
(***********************************************************)
@@ -217,6 +219,7 @@ define_function UpdateFeedback() {
217219
(* STARTUP CODE GOES BELOW *)
218220
(***********************************************************)
219221
DEFINE_START {
222+
NAVModuleInit(module)
220223
create_buffer dvPort, module.RxBuffer.Data
221224
module.Device.SocketConnection.Socket = dvPort.PORT
222225
}

0 commit comments

Comments
 (0)