Fixed bugs in connect/disconnect and overwrite mode.

This commit is contained in:
Collin Kidder
2016-01-25 20:02:20 -05:00
parent c41815e628
commit 427b2cf326
3 changed files with 12 additions and 9 deletions
+2 -1
View File
@@ -477,7 +477,8 @@ void SerialWorker::closeSerialPort()
serial->close();
}
serial->disconnect();
ticker->stop();
//do not stop the ticker here. It always stays running now.
//ticker->stop();
delete serial;
serial = NULL;
}