Browse Source

tests: gadget0: use proper usb enums

pull/887/head
Karl Palsson 7 years ago
parent
commit
cbef4a15e4
  1. 2
      tests/gadget-zero/usb-gadget0.c

2
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 */ /* 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, struct usb_setup_data *req,
uint8_t **buf, uint8_t **buf,
uint16_t *len, uint16_t *len,

Loading…
Cancel
Save