mirror of
https://github.com/PepperDash/EssentialsPluginTemplate.git
synced 2026-07-02 08:38:14 +00:00
fix: use correct null check
This commit is contained in:
parent
cf3f35a53c
commit
22faf9ef10
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue