From d990930b19565eac741169b2f6b60f6ba4a95879 Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Tue, 8 Dec 2020 11:05:52 -0700 Subject: [PATCH] #523 Add return statement --- .../PepperDashEssentialsBase/Comm and IR/ComPortController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Comm and IR/ComPortController.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Comm and IR/ComPortController.cs index 8d2f2db1..75e9ae72 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/Comm and IR/ComPortController.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/Comm and IR/ComPortController.cs @@ -59,6 +59,7 @@ namespace PepperDash.Essentials.Core if (Port == null) { Debug.Console(0,this,Debug.ErrorLogLevel.Error, "Configured com Port for this device does not exist."); + return; } if (Port.Parent is CrestronControlSystem) {