rename ConfigureComPort to RegisterAndConfigureComPort

This commit is contained in:
Andrew Welker
2020-04-28 12:13:35 -06:00
parent 671d506b45
commit 44fcbf98f2
2 changed files with 7 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ namespace PepperDash.Essentials.Core
{
Port = postActivationFunc(config);
ConfigureComPort();
RegisterAndConfigureComPort();
});
}
@@ -47,16 +47,13 @@ namespace PepperDash.Essentials.Core
Spec = spec;
//IsConnected = new BoolFeedback(CommonBoolCue.IsConnected, () => true);
ConfigureComPort();
RegisterAndConfigureComPort();
}
private void ConfigureComPort()
private void RegisterAndConfigureComPort()
{
if (Port.Parent is CrestronControlSystem)
{
var result = Port.Register();
if (result != eDeviceRegistrationUnRegistrationResponse.Success)
{