diff --git a/connections/gvretserial.cpp b/connections/gvretserial.cpp index 79d5a8d..efee5f3 100644 --- a/connections/gvretserial.cpp +++ b/connections/gvretserial.cpp @@ -8,9 +8,9 @@ #include "gvretserial.h" -GVRetSerial::GVRetSerial(QString portName, useTcp) : - useTcp(useTcp), +GVRetSerial::GVRetSerial(QString portName, bool useTcp) : CANConnection(portName, CANCon::GVRET_SERIAL, 3, 4000, true), + useTcp(useTcp), mTimer(this) /*NB: set this as parent of timer to manage it from working thread */ { qDebug() << "GVRetSerial()";