fix: use correct null check

This commit is contained in:
Andrew Welker
2025-07-29 13:52:27 -05:00
parent cf3f35a53c
commit 22faf9ef10

View File

@@ -69,7 +69,7 @@ namespace PepperDash.Essentials.Plugin
var controlConfig = CommFactory.GetControlPropertiesConfig(dc);
if (controlConfig == null)
if (controlConfig != null)
{
var myTouchpanel = new Tsw760(controlConfig.IpIdInt, Global.ControlSystem);