piserial should be fixed
This commit is contained in:
@@ -680,7 +680,7 @@ bool PISerial::openDevice() {
|
||||
|
||||
|
||||
bool PISerial::closeDevice() {
|
||||
if (isThreadedRead()) {
|
||||
if (isThreadedRead() && !isThreadedReadStopping()) {
|
||||
stopThreadedRead();
|
||||
}
|
||||
if (fd != -1) {
|
||||
|
||||
Reference in New Issue
Block a user