Minor modifications to prepare for merge
This commit is contained in:
@@ -217,9 +217,7 @@ namespace Xylem.Common.Hardware.Interfaces.Ports.SerialPorts
|
||||
catch (Exception ex)
|
||||
{
|
||||
_byteDataLogger.Error(ex);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -228,7 +226,6 @@ namespace Xylem.Common.Hardware.Interfaces.Ports.SerialPorts
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
//set receive interrupt threshold for immediate execution
|
||||
_serialPort.ReceivedBytesThreshold = 1;
|
||||
_serialPort.DataReceived += PhysicalDataReceived;
|
||||
@@ -259,6 +256,7 @@ namespace Xylem.Common.Hardware.Interfaces.Ports.SerialPorts
|
||||
throw new ApplicationException($"{Ident} {ex.Message}");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Getting the base port
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user