some fixes for picloud, but still not working correctly
This commit is contained in:
@@ -827,7 +827,7 @@ ssize_t PISerial::readDevice(void * read_to, ssize_t max_size) {
|
||||
return 0;
|
||||
if (err == ERROR_BAD_COMMAND || err == ERROR_ACCESS_DENIED) {
|
||||
piCoutObj << "read error" << (PRIVATE->readed) << errorString();
|
||||
softStopThreadedRead();
|
||||
stop();
|
||||
close();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user