mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-09 22:24:14 +03:00
Filter out /dev/cu* ports, can be re-enabled manually adding "serial.ports.showall=true" into preferences.txt file
Closes #2624
This commit is contained in:
@@ -1000,6 +1000,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) {
|
||||
|
Reference in New Issue
Block a user