mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-24 02:51:20 -08:00
WiFi window should be able to use CP2102 usb to uart too
This commit is contained in:
1 parent
22d4196bed
commit
0f360cf892
1 file changed
+1
-1
@@ -53,7 +53,7 @@ public class WiFiWindow extends JFrame {
|
||||
|
||||
SerialPort[] ports = SerialPort.getCommPorts();
|
||||
for(SerialPort port : ports) {
|
||||
if(port.getDescriptivePortName().contains("CH340")) {
|
||||
if(port.getDescriptivePortName().contains("CH340") || port.getDescriptivePortName().toLowerCase().contains("cp21")) {
|
||||
trackerPort = port;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user