From cbef4a15e4162f5fc39ebe6e449aa9a181867e48 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sat, 24 Feb 2018 13:04:34 +0000 Subject: [PATCH] tests: gadget0: use proper usb enums --- tests/gadget-zero/usb-gadget0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gadget-zero/usb-gadget0.c b/tests/gadget-zero/usb-gadget0.c index ad4d83b5..be1592b3 100644 --- a/tests/gadget-zero/usb-gadget0.c +++ b/tests/gadget-zero/usb-gadget0.c @@ -253,7 +253,7 @@ static void gadget0_tx_cb_loopback(usbd_device *usbd_dev, uint8_t ep) /* TODO - unimplemented - consult linux source on proper behaviour */ } -static int gadget0_control_request(usbd_device *usbd_dev, +static enum usbd_request_return_codes gadget0_control_request(usbd_device *usbd_dev, struct usb_setup_data *req, uint8_t **buf, uint16_t *len,