mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-29 12:24:59 +00:00
rename ConfigureComPort to RegisterAndConfigureComPort
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user