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 9473382..90e82f2 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:
+                       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";
Impressum, Datenschutz