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/std_request.h | |
| parent | acb01b5a2477b483b5fa51c325e9e80839b4f033 (diff) | |
clean up compiler
Diffstat (limited to 'tinyusb/common/std_request.h')
| -rw-r--r-- | tinyusb/common/std_request.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tinyusb/common/std_request.h b/tinyusb/common/std_request.h index fc37a9c28..87d6e5d0f 100644 --- a/tinyusb/common/std_request.h +++ b/tinyusb/common/std_request.h @@ -70,7 +70,6 @@ typedef struct ATTR_PACKED{ STATIC_ASSERT( sizeof(tusb_control_request_t) == 8, "mostly compiler option issue");
// TODO move to somewhere suitable
-static inline uint8_t bm_request_type(uint8_t direction, uint8_t type, uint8_t recipient) ATTR_CONST ATTR_ALWAYS_INLINE;
static inline uint8_t bm_request_type(uint8_t direction, uint8_t type, uint8_t recipient)
{
return ((uint8_t) (direction << 7)) | ((uint8_t) (type << 5)) | (recipient);
|
