From 1999da88c5d6b32bd432b737ba1b60d1a15ff47b Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Wed, 13 Sep 2023 20:55:19 -0400 Subject: [PATCH] Add a fix for GVRET serial devices on MacOS --- connections/canconfactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connections/canconfactory.cpp b/connections/canconfactory.cpp index 0b25904a..2b4be1f4 100644 --- a/connections/canconfactory.cpp +++ b/connections/canconfactory.cpp @@ -15,7 +15,7 @@ CANConnection* CanConFactory::create(type pType, QString pPortName, QString pDri case SERIALBUS: return new SerialBusConnection(pPortName, pDriverName); case GVRET_SERIAL: - if(pPortName.contains(".") && !pPortName.contains("tty")) + if(pPortName.contains(".") && !pPortName.contains("tty") && !pPortName.contains("serial")) return new GVRetSerial(pPortName, true); else return new GVRetSerial(pPortName, false);