From 5ee782f8e152f5000b39d72d36055db6582c857d Mon Sep 17 00:00:00 2001 From: Alexis Murzeau Date: Tue, 25 Jul 2023 23:48:20 +0200 Subject: [PATCH] damc_gui: better USB serial detection for Windnows --- damc_gui/SerialPortInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damc_gui/SerialPortInterface.cpp b/damc_gui/SerialPortInterface.cpp index d38f6b4..c44b474 100644 --- a/damc_gui/SerialPortInterface.cpp +++ b/damc_gui/SerialPortInterface.cpp @@ -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; }