From fca08a91a7a1891dc5df7a10402f87b291ddf9d5 Mon Sep 17 00:00:00 2001 From: Jackson Smith Date: Thu, 14 Jun 2018 22:40:44 -0400 Subject: [PATCH] Fix silly mistake --- connections/gvretserial.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()";