refactor: update TODO comment for Port registration verification

This commit is contained in:
jkdevito
2025-10-27 17:32:40 -05:00
parent 151a90c9be
commit 32a332a6e2

View File

@@ -73,7 +73,7 @@ namespace PepperDash.Essentials.Core
Debug.LogMessage(LogEventLevel.Information, this, "Configured com Port for this device does not exist."); Debug.LogMessage(LogEventLevel.Information, this, "Configured com Port for this device does not exist.");
return; return;
} }
// TODO [ ] - Verify nothing blows up without the `if` check // TODO [ ] - Verify nothing blows up without the `if` check || if there is a property identifying the parent/device is either registerable or notRegisterable
//if (Port.Parent is CrestronControlSystem || Port.Parent is CenIoCom102) //if (Port.Parent is CrestronControlSystem || Port.Parent is CenIoCom102)
//{ //{
var result = Port.Register(); var result = Port.Register();