Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of F042K6_USBDevice by
Diff: USBDevice/USBHAL.h
- Revision:
- 16:4f6df64750bd
- Parent:
- 11:eeb3cbbaa996
- Child:
- 25:7c72828865f3
diff -r 849c0c0f2769 -r 4f6df64750bd USBDevice/USBHAL.h --- a/USBDevice/USBHAL.h Tue Nov 05 09:45:23 2013 +0000 +++ b/USBDevice/USBHAL.h Thu Dec 05 13:00:15 2013 +0000 @@ -74,9 +74,9 @@ virtual bool EP2_IN_callback(){return false;}; virtual bool EP3_OUT_callback(){return false;}; virtual bool EP3_IN_callback(){return false;}; +#if !defined(TARGET_STM32F4) virtual bool EP4_OUT_callback(){return false;}; virtual bool EP4_IN_callback(){return false;}; - #if !defined(TARGET_LPC11U24) virtual bool EP5_OUT_callback(){return false;}; virtual bool EP5_IN_callback(){return false;}; @@ -101,6 +101,7 @@ virtual bool EP15_OUT_callback(){return false;}; virtual bool EP15_IN_callback(){return false;}; #endif +#endif private: void usbisr(void); @@ -109,6 +110,8 @@ #if defined(TARGET_LPC11U24) bool (USBHAL::*epCallback[10 - 2])(void); +#elif defined(TARGET_STM32F4XX) + bool (USBHAL::*epCallback[8 - 2])(void); #else bool (USBHAL::*epCallback[32 - 2])(void); #endif