From 03486e52a2dde8ade759f36fea8b403b6524451c Mon Sep 17 00:00:00 2001 From: root Date: Sat, 6 Mar 2021 18:19:33 +0000 Subject: pull a new libopencm3 in the hope it fixes tim's usb problems --- boot/prototypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot/prototypes.h') diff --git a/boot/prototypes.h b/boot/prototypes.h index 74f6b60..40ae6c5 100644 --- a/boot/prototypes.h +++ b/boot/prototypes.h @@ -10,7 +10,7 @@ extern void usb(void); /* dfu.c */ extern const struct usb_dfu_descriptor dfu_function; extern const struct usb_interface_descriptor dfu_iface; -extern int usbdfu_control_request(usbd_device *usbd_dev, struct usb_setup_data *req, uint8_t **buf, uint16_t *len, int (**complete)(usbd_device *usbd_dev, struct usb_setup_data *req)); +extern enum usbd_request_return_codes usbdfu_control_request(usbd_device *usbd_dev, struct usb_setup_data *req, uint8_t **buf, uint16_t *len, void (**complete)(usbd_device *usbd_dev, struct usb_setup_data *req)); /* delay.c */ extern void sys_tick_handler(void); extern void ticker_on(void); -- cgit v1.2.3