Skip to content

Commit a8b29d4

Browse files
author
Federico Fissore
committed
MacOSX: it looks like filtering cu* ports was not a good choice. Filtering tty* instead
1 parent ae8549c commit a8b29d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-core/src/processing/app/macosx/Platform.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ public java.util.List<BoardPort> filterPorts(java.util.List<BoardPort> ports, bo
245245

246246
List<BoardPort> filteredPorts = new LinkedList<BoardPort>();
247247
for (BoardPort port : ports) {
248-
if (!port.getAddress().startsWith("/dev/cu.")) {
248+
if (!port.getAddress().startsWith("/dev/tty.")) {
249249
filteredPorts.add(port);
250250
}
251251
}

0 commit comments

Comments
 (0)