mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 13:15:03 +00:00
Switch DMPS units to only wait until devices are registered before continuing. No need to wait for devices to be activated.
This commit is contained in:
@@ -53,14 +53,14 @@ namespace PepperDash.Essentials
|
|||||||
// to allow any HD-BaseT DM endpoints to register first.
|
// to allow any HD-BaseT DM endpoints to register first.
|
||||||
if (Global.ControlSystemIsDmpsType)
|
if (Global.ControlSystemIsDmpsType)
|
||||||
{
|
{
|
||||||
Debug.Console(2, "******************* InitializeSystem() Entering **********************");
|
Debug.Console(1, "******************* InitializeSystem() Entering **********************");
|
||||||
|
|
||||||
_initializeEvent = new CEvent();
|
_initializeEvent = new CEvent();
|
||||||
|
|
||||||
DeviceManager.AllDevicesActivated += (o, a) =>
|
DeviceManager.AllDevicesRegistered += (o, a) =>
|
||||||
{
|
{
|
||||||
_initializeEvent.Set();
|
_initializeEvent.Set();
|
||||||
Debug.Console(2, "******************* InitializeSystem() Exiting **********************");
|
Debug.Console(1, "******************* InitializeSystem() Exiting **********************");
|
||||||
};
|
};
|
||||||
|
|
||||||
_initializeEvent.Wait(30000);
|
_initializeEvent.Wait(30000);
|
||||||
|
|||||||
Reference in New Issue
Block a user