Skip to content

Commit

Permalink
fix: implement fully dynamic matrix routing messenger
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-welker committed Apr 2, 2024
1 parent 8fe3dde commit 2231c28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/NvxEpi/Features/Routing/NvxGlobalRouter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private NvxGlobalRouter()


InputSlots = new Dictionary<string, NvxMatrixInput>();
OutputSlots = new Dictionary<string, NvxMatrixOutput>();
OutputSlots = new Dictionary<string, NvxMatrixOutput>();

AddPostActivationAction(BuildMobileControlMessenger);
#endif
Expand Down Expand Up @@ -159,7 +159,7 @@ private void BuildMobileControlMessenger()
return;
}

var routingMessenger = new IMatrixRoutingMessenger<NvxMatrixInput, NvxMatrixOutput>($"{Key}-matrixRoutingMessenger", $"/device/{Key}", this as IMatrixRouting<IRoutingInputSlot, IRoutingOutputSlot>);
var routingMessenger = new IMatrixRoutingMessenger<NvxMatrixInput, NvxMatrixOutput>($"{Key}-matrixRoutingMessenger", $"/device/{Key}", this);
mc.AddDeviceMessenger(routingMessenger);
}

Expand Down
2 changes: 1 addition & 1 deletion src/NvxEpi/NvxEpi.4Series.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="PepperDash.Essentials.Plugin.MobileControl.Messengers" Version="3.3.0-feature-mc-touchpanel-controller.35" />
<PackageReference Include="PepperDash.Essentials.Plugin.MobileControl.Messengers" Version="3.3.0-feature-mc-touchpanel-controller.36" />
<PackageReference Include="PepperDashEssentials" Version="2.0.0-alpha-2424" />
</ItemGroup>

Expand Down

0 comments on commit 2231c28

Please sign in to comment.