Skip to content

Commit 22faf9e

Browse files
committed
fix: use correct null check
1 parent cf3f35a commit 22faf9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MakeModelCrestronDeviceFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public override EssentialsDevice BuildDevice(PepperDash.Essentials.Core.Config.D
6969

7070
var controlConfig = CommFactory.GetControlPropertiesConfig(dc);
7171

72-
if (controlConfig == null)
72+
if (controlConfig != null)
7373
{
7474
var myTouchpanel = new Tsw760(controlConfig.IpIdInt, Global.ControlSystem);
7575

0 commit comments

Comments
 (0)