mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
MacOSX: it looks like filtering cu* ports was not a good choice. Filtering tty* instead
This commit is contained in:
@ -245,7 +245,7 @@ public class Platform extends processing.app.Platform {
|
||||
|
||||
List<BoardPort> filteredPorts = new LinkedList<BoardPort>();
|
||||
for (BoardPort port : ports) {
|
||||
if (!port.getAddress().startsWith("/dev/cu.")) {
|
||||
if (!port.getAddress().startsWith("/dev/tty.")) {
|
||||
filteredPorts.add(port);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user