diff options
author | root <root@ka-ata-killa.ourano.james.local> | 2021-03-06 18:19:33 +0000 |
---|---|---|
committer | root <root@ka-ata-killa.ourano.james.local> | 2021-03-06 18:23:04 +0000 |
commit | 03486e52a2dde8ade759f36fea8b403b6524451c (patch) | |
tree | dc54d6ff9797340d83e159b596fd80cc1f2826c6 /boot/prototypes.h | |
parent | f519bbe55f6917d86af6bb4946dfef073175d8f3 (diff) | |
download | clock-03486e52a2dde8ade759f36fea8b403b6524451c.tar.gz clock-03486e52a2dde8ade759f36fea8b403b6524451c.tar.bz2 clock-03486e52a2dde8ade759f36fea8b403b6524451c.zip |
pull a new libopencm3 in the hope it fixes tim's usb problems
Diffstat (limited to 'boot/prototypes.h')
-rw-r--r-- | boot/prototypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |