mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 20:17:03 +00:00
fix(essentials): #842 Adds back in code to register Crestron devices under normal circumstances
This commit is contained in:
parent
e855359f61
commit
5442a1db48
4 changed files with 42 additions and 19 deletions
|
|
@ -53,11 +53,14 @@ namespace PepperDash.Essentials
|
|||
// to allow any HD-BaseT DM endpoints to register first.
|
||||
if (Global.ControlSystemIsDmpsType)
|
||||
{
|
||||
Debug.Console(2, "******************* InitializeSystem() Entering **********************");
|
||||
|
||||
_initializeEvent = new CEvent();
|
||||
|
||||
DeviceManager.AllDevicesActivated += (o, a) =>
|
||||
{
|
||||
_initializeEvent.Set();
|
||||
Debug.Console(2, "******************* InitializeSystem() Exiting **********************");
|
||||
};
|
||||
|
||||
_initializeEvent.Wait(30000);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue