Skip to content

Commit

Permalink
Add a fix for GVRET serial devices on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
collin80 committed Sep 14, 2023
1 parent 678e322 commit 1999da8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connections/canconfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1999da8

Please sign in to comment.