Skip to content

Commit

Permalink
WiFi window should be able to use CP2102 usb to uart too
Browse files Browse the repository at this point in the history
  • Loading branch information
Eirenliel committed Jul 21, 2021
1 parent 22d4196 commit 0f360cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/eiren/gui/WiFiWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ private void build() {

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;
}
Expand Down

0 comments on commit 0f360cf

Please sign in to comment.