Always filter out unreachable mac ports
This commit is contained in:
parent
e0f72b602a
commit
9b286701a8
2 changed files with 2 additions and 3 deletions
|
|
@ -162,8 +162,7 @@ namespace MatterHackers.MatterControl.PrinterControls.PrinterConnections
|
|||
protected void CreateSerialPortControls(FlowLayoutWidget comPortContainer, string activePrinterSerialPort)
|
||||
{
|
||||
int portIndex = 0;
|
||||
string[] allPorts = FrostedSerialPort.GetPortNames();
|
||||
IEnumerable<string> portsToCreate = FrostedSerialPort.FilterPortsForMac(allPorts);
|
||||
string[] portsToCreate = FrostedSerialPort.GetPortNames();
|
||||
|
||||
// Add a radio button for each filtered port
|
||||
foreach (string portName in portsToCreate)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue