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:
Davide Gerhard 2024-06-27 21:30:16 +02:00
parent 13dedddd19
commit 85e1f423bf
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -63,7 +63,7 @@ typedef struct TU_ATTR_PACKED {
} xfer_complete; } xfer_complete;
}; };
} tcd_event_t;; } tcd_event_t;
//--------------------------------------------------------------------+ //--------------------------------------------------------------------+
// //