Fixed some F105/F107 USB issues. Added user callback on SOF.

Made examples depend on lib.
This commit is contained in:
Gareth McMullin
2011-10-29 21:30:26 +13:00
parent f9a28a3d5e
commit b05a5dcf2a
7 changed files with 36 additions and 15 deletions

View File

@@ -42,6 +42,7 @@ extern struct _usbd_device {
void (*user_callback_reset)(void);
void (*user_callback_suspend)(void);
void (*user_callback_resume)(void);
void (*user_callback_sof)(void);
struct user_control_callback {
usbd_control_callback cb;