diff options
| author | hathach <[email protected]> | 2018-03-02 19:00:03 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-02 19:00:03 +0700 |
| commit | bc9274591fe4b1b21cbe85aa9a4ebf4e8d2723e9 (patch) | |
| tree | 6cd40c5bd3db6dbfd272d425e62a4438a8245885 /tinyusb/common/common.h | |
| parent | acb01b5a2477b483b5fa51c325e9e80839b4f033 (diff) | |
clean up compiler
Diffstat (limited to 'tinyusb/common/common.h')
| -rw-r--r-- | tinyusb/common/common.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tinyusb/common/common.h b/tinyusb/common/common.h index a624b941f..9a37c6c97 100644 --- a/tinyusb/common/common.h +++ b/tinyusb/common/common.h @@ -115,13 +115,11 @@ #define arrcount(_arr) ( sizeof(_arr) / sizeof(_arr[0]) )
-static inline uint8_t const * descriptor_next(uint8_t const p_desc[]) ATTR_ALWAYS_INLINE ATTR_PURE;
static inline uint8_t const * descriptor_next(uint8_t const p_desc[])
{
return p_desc + p_desc[DESCRIPTOR_OFFSET_LENGTH];
}
-static inline uint8_t descriptor_typeof(uint8_t const p_desc[]) ATTR_ALWAYS_INLINE ATTR_PURE;
static inline uint8_t descriptor_typeof(uint8_t const p_desc[])
{
return p_desc[DESCRIPTOR_OFFSET_TYPE];
|
