mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-15 12:29:26 +01:00
MacOSX: it looks like filtering cu* ports was not a good choice. Filtering tty* instead
This commit is contained in:
parent
ae8549cfcb
commit
a8b29d48a5
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user