Skip to content

Commit

Permalink
damc_gui: better USB serial detection for Windnows
Browse files Browse the repository at this point in the history
  • Loading branch information
amurzeau committed Jul 25, 2023
1 parent d0317f4 commit 5ee782f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion damc_gui/SerialPortInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ void SerialPortInterface::onOscReconnect() {
port.manufacturer().toStdString(),
port.serialNumber().toStdString(),
port.systemLocation().toStdString());
if(port.description().contains("DAMC STM32 Audio") || port.serialNumber().contains("356F31473037")) {
if(port.description().contains("DAMC STM32 Audio") || port.serialNumber().contains("DAMC_")) {
oscSerialPort.setPort(port);
portFound = true;
}
Expand Down

0 comments on commit 5ee782f

Please sign in to comment.