Implemented connection save with speeds and can fd at least for bus 0.

This commit is contained in:
werner
2025-02-13 20:21:15 +01:00
parent cccdad4b76
commit 60b0e65a18
6 changed files with 44 additions and 11 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ CANConnection* CanConFactory::create(type pType, QString pPortName, QString pDri
{
switch(pType) {
case SERIALBUS:
return new SerialBusConnection(pPortName, pDriverName);
return new SerialBusConnection(pPortName, pDriverName, pBusSpeed, pDataRate, pCanFd);
case GVRET_SERIAL:
if(pPortName.contains(".") && !pPortName.contains("tty") && !pPortName.contains("serial"))
return new GVRetSerial(pPortName, true);