Removed thread/timer from touchpanel creation. Hopefully will fix disappearing panels

This commit is contained in:
Heath Volmer
2018-02-07 16:29:06 -07:00
parent ba1e8646e5
commit 5afa626fb3
2 changed files with 3 additions and 3 deletions

View File

@@ -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);
}); });
} }