mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-07 05:54:11 +08:00
remove double semicolon since ISO C not allow it
ISO C does not allow extra ';' outside of a function [-Werror=pedantic]
This commit is contained in:
parent
13dedddd19
commit
85e1f423bf
@ -78,7 +78,7 @@ typedef struct
|
|||||||
// _int_set is not used with an RTOS
|
// _int_set is not used with an RTOS
|
||||||
#define OSAL_QUEUE_DEF(_int_set, _name, _depth, _type) \
|
#define OSAL_QUEUE_DEF(_int_set, _name, _depth, _type) \
|
||||||
static _type _name##_##buf[_depth];\
|
static _type _name##_##buf[_depth];\
|
||||||
osal_queue_def_t _name = { .depth = _depth, .item_sz = sizeof(_type), .buf = _name##_##buf, _OSAL_Q_NAME(_name) };
|
osal_queue_def_t _name = { .depth = _depth, .item_sz = sizeof(_type), .buf = _name##_##buf, _OSAL_Q_NAME(_name) }
|
||||||
|
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
// TASK API
|
// TASK API
|
||||||
|
@ -63,7 +63,7 @@ typedef struct TU_ATTR_PACKED {
|
|||||||
} xfer_complete;
|
} xfer_complete;
|
||||||
};
|
};
|
||||||
|
|
||||||
} tcd_event_t;;
|
} tcd_event_t;
|
||||||
|
|
||||||
//--------------------------------------------------------------------+
|
//--------------------------------------------------------------------+
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user