mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
move EISC registration
This commit is contained in:
parent
2a1ff2e32b
commit
615c0d1545
2 changed files with 3 additions and 5 deletions
|
|
@ -96,8 +96,6 @@ namespace PepperDash.Essentials.Core.Bridges
|
|||
|
||||
Eisc.SigChange += Eisc_SigChange;
|
||||
|
||||
Eisc.Register();
|
||||
|
||||
AddPostActivationAction( () =>
|
||||
{
|
||||
Debug.Console(1, this, "Linking Devices...");
|
||||
|
|
@ -121,6 +119,8 @@ namespace PepperDash.Essentials.Core.Bridges
|
|||
var bridge = device as IBridgeAdvanced;
|
||||
if (bridge != null) bridge.LinkToApi(Eisc, d.JoinStart, d.JoinMapKey, this);
|
||||
}
|
||||
|
||||
Eisc.Register();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue