add TU_ prefix to compiler ATTR to prevent name conflict with application
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
#define IN_EP_BASE (USB_OTG_INEndpointTypeDef *) (USB_OTG_FS_PERIPH_BASE + USB_OTG_IN_ENDPOINT_BASE)
|
||||
#define FIFO_BASE(_x) (uint32_t *) (USB_OTG_FS_PERIPH_BASE + USB_OTG_FIFO_BASE + (_x) * USB_OTG_FIFO_SIZE)
|
||||
|
||||
static ATTR_ALIGNED(4) uint32_t _setup_packet[6];
|
||||
static TU_ATTR_ALIGNED(4) uint32_t _setup_packet[6];
|
||||
static uint8_t _setup_offs; // We store up to 3 setup packets.
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user