diff options
Diffstat (limited to 'libmaple/usb/usb_callbacks.c')
-rw-r--r-- | libmaple/usb/usb_callbacks.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmaple/usb/usb_callbacks.c b/libmaple/usb/usb_callbacks.c index b2edd8a..72f97ad 100644 --- a/libmaple/usb/usb_callbacks.c +++ b/libmaple/usb/usb_callbacks.c @@ -7,7 +7,10 @@ #include "descriptors.h" #include "usb_config.h" #include "usb.h" -#include "usb_hardware.h" + +/* macro'd register and peripheral definitions */ +#define EXC_RETURN 0xFFFFFFF9 +#define DEFAULT_CPSR 0x61000000 ONE_DESCRIPTOR Device_Descriptor = { (uint8*)&usbVcomDescriptor_Device, |