mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-14 04:04:58 +00:00
Removed thread/timer from touchpanel creation. Hopefully will fix disappearing panels
This commit is contained in:
@@ -87,8 +87,8 @@ namespace PepperDash.Essentials
|
|||||||
+= ExtenderSystemReservedSigs_DeviceExtenderSigChange;
|
+= ExtenderSystemReservedSigs_DeviceExtenderSigChange;
|
||||||
}
|
}
|
||||||
|
|
||||||
new CTimer(o =>
|
//CrestronInvoke.BeginInvoke(o =>
|
||||||
{
|
// {
|
||||||
var regSuccess = Panel.Register();
|
var regSuccess = Panel.Register();
|
||||||
if (regSuccess != eDeviceRegistrationUnRegistrationResponse.Success)
|
if (regSuccess != eDeviceRegistrationUnRegistrationResponse.Success)
|
||||||
Debug.Console(0, this, "WARNING: Registration failed. Continuing, but panel may not function: {0}", regSuccess);
|
Debug.Console(0, this, "WARNING: Registration failed. Continuing, but panel may not function: {0}", regSuccess);
|
||||||
@@ -177,7 +177,7 @@ namespace PepperDash.Essentials
|
|||||||
{
|
{
|
||||||
Debug.Console(0, this, "ERROR: Cannot load AvFunctionsDriver for room '{0}'", props.DefaultRoomKey);
|
Debug.Console(0, this, "ERROR: Cannot load AvFunctionsDriver for room '{0}'", props.DefaultRoomKey);
|
||||||
}
|
}
|
||||||
}, 0);
|
//}, 0);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user