POSIX FTDI: Nicer error message for when device is in use

Commonly, the device is being used by another libicsneo program
(icsscand, maybe) or passed through to a VM.
This commit is contained in:
Paul Hollinsky
2020-06-24 22:15:22 -04:00
parent a759c1faa9
commit 2079037ae4
3 changed files with 9 additions and 1 deletions
+1
View File
@@ -78,6 +78,7 @@ public:
DriverFailedToClose = 0x3003,
PacketChecksumError = 0x3004,
TransmitBufferFull = 0x3005,
DeviceInUse = 0x3006,
PCAPCouldNotStart = 0x3102,
PCAPCouldNotFindDevices = 0x3103,
PacketDecodingError = 0x3104,