We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c74ff96 commit 4dd1275Copy full SHA for 4dd1275
it.baeyens.arduino.common/src/it/baeyens/arduino/arduino/Serial.java
@@ -128,7 +128,7 @@ public static Vector<String> list() {
128
String[] portNames;
129
String os = System.getProperty("os.name").toLowerCase(); //$NON-NLS-1$
130
if (os.indexOf("mac") >= 0) { //$NON-NLS-1$
131
- portNames = SerialPortList.getPortNames("/dev/", Pattern.compile("^cu\\..*(serial|usb).*")); //$NON-NLS-1$ //$NON-NLS-2$
+ portNames = SerialPortList.getPortNames("/dev/", Pattern.compile("^cu\\..*")); //$NON-NLS-1$ //$NON-NLS-2$
132
} else {
133
portNames = SerialPortList.getPortNames();
134
}
0 commit comments