Skip to content

Commit

Permalink
fix(preset): use function that actually send the data
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbutt committed Jul 22, 2024
1 parent 9f0be7c commit a8c57dc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/mExtronDMPPreset.axs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ data_event[vdvObject] {

switch (message.Header) {
case 'PRESET': {
NAVInterModuleApiBuildObjectMessage(OBJECT_COMMAND_MESSAGE_HEADER, object.Api.Id, "message.Parameter[1], '.'")
NAVInterModuleApiSendObjectMessage(vdvCommObject,
NAVInterModuleApiBuildObjectMessage(OBJECT_COMMAND_MESSAGE_HEADER,
object.Api.Id,
"message.Parameter[1], '.'"))
}
}
}
Expand All @@ -199,7 +202,10 @@ data_event[vdvObject] {

channel_event[vdvObject, 0] {
on: {
NAVInterModuleApiBuildObjectMessage(OBJECT_COMMAND_MESSAGE_HEADER, object.Api.Id, "itoa(channel.channel), '.'")
NAVInterModuleApiSendObjectMessage(vdvCommObject,
NAVInterModuleApiBuildObjectMessage(OBJECT_COMMAND_MESSAGE_HEADER,
object.Api.Id,
"itoa(channel.channel), '.'"))
}
}

Expand Down

0 comments on commit a8c57dc

Please sign in to comment.