Changed FrostedSerialPort to IFrostedSerialPort
This commit is contained in:
parent
d55e030390
commit
2a4a6348d5
1 changed files with 2 additions and 2 deletions
|
|
@ -218,7 +218,7 @@ namespace MatterHackers.MatterControl
|
|||
double targetBedTemperature;
|
||||
string printJobDisplayName = null;
|
||||
GCodeFile loadedGCode = new GCodeFile();
|
||||
FrostedSerialPort serialPort;
|
||||
IFrostedSerialPort serialPort;
|
||||
Thread readFromPrinterThread;
|
||||
Thread connectThread;
|
||||
|
||||
|
|
@ -1224,7 +1224,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
if (serialPortIsAvailable && !serialPortIsAlreadyOpen)
|
||||
{
|
||||
serialPort = new FrostedSerialPort(serialPortName);
|
||||
serialPort = FrostedSerialPort.Create(serialPortName);
|
||||
serialPort.BaudRate = baudRate;
|
||||
//serialPort.Parity = Parity.None;
|
||||
//serialPort.DataBits = 8;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue