From: Florian Franzmann Date: Sat, 5 Sep 2020 14:57:56 +0000 (+0200) Subject: Add missing case in switch X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/commitdiff_plain/915b783358b0f140fe44d0aeb4295a071f4e0054 Add missing case in switch --- diff --git a/hmcfgusb.c b/hmcfgusb.c index 9473382..90e82f2 100644 --- a/hmcfgusb.c +++ b/hmcfgusb.c @@ -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";