POSIX FTDI: Count LIBUSB_ERROR_IO as a disconnection

This commit is contained in:
Paul Hollinsky
2021-09-20 19:30:59 -04:00
parent 3764a2e814
commit c847d68f3c
2 changed files with 9 additions and 2 deletions
+1
View File
@@ -54,6 +54,7 @@ private:
static std::vector<std::tuple<int, std::string>> handles;
static bool ErrorIsDisconnection(int errorCode);
void readTask();
void writeTask();
bool openable; // Set to false in the constructor if the object has not been found in searchResultDevices