Skip to content

Commit

Permalink
Merge pull request #41 from JimWails/main
Browse files Browse the repository at this point in the history
Add support for ch910xx
  • Loading branch information
Eirenliel committed Aug 29, 2021
2 parents 6c27186 + 9a76838 commit 4836b02
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().toLowerCase().contains("ch340") || port.getDescriptivePortName().toLowerCase().contains("cp21")) {
if(port.getDescriptivePortName().toLowerCase().contains("ch340") || port.getDescriptivePortName().toLowerCase().contains("cp21") || port.getDescriptivePortName().toLowerCase().contains("ch910")) {
trackerPort = port;
break;
}
Expand Down

0 comments on commit 4836b02

Please sign in to comment.