Merge branch 'master' into pico_sdk
This commit is contained in:
@@ -1291,6 +1291,11 @@ PIVector<PISerial::DeviceInfo> PISerial::availableDevicesInfo(bool test) {
|
||||
if (!rok) {
|
||||
ret.remove(i);
|
||||
--i;
|
||||
#ifdef WINDOWS
|
||||
CloseHandle(hComm);
|
||||
#else
|
||||
::close(fd);
|
||||
#endif
|
||||
continue;
|
||||
}
|
||||
# ifdef WINDOWS
|
||||
|
||||
Reference in New Issue
Block a user