Skip to content

Commit 37994b8

Browse files
committed
Fixed uninitialized value of connection status
1 parent cad71fb commit 37994b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qt/programmer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Programmer::Programmer(QObject *parent) : QObject(parent)
1818
{
1919
usbDevName = USB_DEV_NAME;
2020
skipBB = true;
21+
isConn = false;
2122
QObject::connect(&reader, SIGNAL(log(QtMsgType, QString)), this,
2223
SLOT(logCb(QtMsgType, QString)));
2324
QObject::connect(&writer, SIGNAL(log(QtMsgType, QString)), this,

0 commit comments

Comments
 (0)