libusb: fix warning
@@ -318,7 +318,7 @@ static void ep_deconfig(uint8_t ep) {
}
static int32_t ep_read(uint8_t ep, void* buf, uint16_t blen) {
- uint32_t len, tmp;
+ uint32_t len, tmp = 0;
volatile uint32_t *fifo = EPFIFO(0);
/* no data in RX FIFO */
if (!(OTG->GINTSTS & USB_OTG_GINTSTS_RXFLVL)) return -1;
