We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0b21b5 commit d147bceCopy full SHA for d147bce
SerialPrograms/Source/Controllers/SerialPABotBase/SerialPABotBase_SelectorWidget.h
@@ -89,6 +89,17 @@ class SerialPABotBase_SelectorWidget : public NoWheelComboBox{
89
if (port.portName() == "COM1"){
90
continue;
91
}
92
+#else // assume macOS or Linux
93
+ if (port.portName().startsWith("tty.")) {
94
+ continue;
95
+ }
96
+#if defined(__APPLE__) // exclude system builtin serial ports
97
+ if (port.portName() == "cu.debug-console" ||
98
+ port.portName() == "cu.Bluetooth-Incoming-Port"
99
+ ){
100
101
102
+#endif
103
#endif
104
m_ports.emplace_back(new SerialPABotBase_Descriptor(port.portName().toStdString()));
105
0 commit comments