1
0
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:
Federico Fissore 2015-03-27 14:46:30 +01:00
parent ae8549cfcb
commit a8b29d48a5

View File

@ -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);
}
}