clean up STATIC_VAR

This commit is contained in:
hathach
2014-04-17 18:02:51 +07:00
parent c4c8ca857c
commit 44b36d74f2
17 changed files with 77 additions and 71 deletions

View File

@@ -147,7 +147,7 @@ ATTR_ALIGNED(256) TUSB_CFG_ATTR_USBRAM // for IAR the first ATTR_ALIGNED takes e
#else
TUSB_CFG_ATTR_USBRAM ATTR_ALIGNED(256) // GCC & Keil the last ATTR_ALIGNED takes effect
#endif
static dcd_11u_13u_data_t dcd_data;
STATIC_VAR dcd_11u_13u_data_t dcd_data;
static inline uint16_t addr_offset(void const * p_buffer) ATTR_CONST ATTR_ALWAYS_INLINE;
static inline uint16_t addr_offset(void const * p_buffer)