1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Merge pull request #2626 from ffissore/hide-cu-devs-on-mac

Macosx: filter out /dev/cu* ports
This commit is contained in:
Cristian Maglie
2015-02-13 15:49:27 +01:00
3 changed files with 26 additions and 1 deletions

View File

@ -1004,6 +1004,8 @@ public class Editor extends JFrame implements RunnerListener {
List<BoardPort> ports = Base.getDiscoveryManager().discovery();
ports = Base.getPlatform().filterPorts(ports, Preferences.getBoolean("serial.ports.showall"));
Collections.sort(ports, new Comparator<BoardPort>() {
@Override
public int compare(BoardPort o1, BoardPort o2) {