]> git.zerfleddert.de Git - hmcfgusb/commitdiff
Add missing case in switch
authorFlorian Franzmann <bwlf@bandrate.org>
Sat, 5 Sep 2020 14:57:56 +0000 (16:57 +0200)
committerMichael Gernoth <michael@gernoth.net>
Sat, 5 Sep 2020 16:45:19 +0000 (18:45 +0200)
hmcfgusb.c

index 94733828d604bdd01e28d6bf353f47e3e4d12437..90e82f2583eaa5b70224844823acca59e08aacea 100644 (file)
@@ -113,6 +113,8 @@ static const char* usb_str_transfer_status(int e)
                case LIBUSB_TRANSFER_CANCELLED:
                        return "Transfer cancelled";
                case LIBUSB_TRANSFER_STALL:
                case LIBUSB_TRANSFER_CANCELLED:
                        return "Transfer cancelled";
                case LIBUSB_TRANSFER_STALL:
+                       return "For bulk/interrupt endpoints: endpoint stalled. For control endpoints: control request not supported.";
+               case LIBUSB_TRANSFER_NO_DEVICE:
                        return "No device";
                case LIBUSB_TRANSFER_OVERFLOW:
                        return "Transfer overflow";
                        return "No device";
                case LIBUSB_TRANSFER_OVERFLOW:
                        return "Transfer overflow";
Impressum, Datenschutz