Skip to content

Commit

Permalink
Add support for ch910xx
Browse files Browse the repository at this point in the history
Already test on ESP8266 which use CH9102X driver
  • Loading branch information
JimWails authored Aug 28, 2021
1 parent 6c27186 commit 9a76838
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 9a76838

Please sign in to comment.