diff options
| author | Davide Gerhard <[email protected]> | 2024-06-27 21:30:16 +0200 |
|---|---|---|
| committer | Davide Gerhard <[email protected]> | 2024-06-27 21:30:16 +0200 |
| commit | 85e1f423bf67776bf2c7113f3f287297f6e81404 (patch) | |
| tree | cad88ae485bc05e7913e7e066b2a22402ceb0024 /src | |
| parent | 13dedddd1963e67251f75b3e3ebd654d74d8aa56 (diff) | |
remove double semicolon since ISO C not allow it
ISO C does not allow extra ';' outside of a function [-Werror=pedantic]
Diffstat (limited to 'src')
| -rw-r--r-- | src/osal/osal_freertos.h | 2 | ||||
| -rw-r--r-- | src/typec/tcd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/osal/osal_freertos.h b/src/osal/osal_freertos.h index f1f05f353..a3a0f3a3f 100644 --- a/src/osal/osal_freertos.h +++ b/src/osal/osal_freertos.h @@ -78,7 +78,7 @@ typedef struct // _int_set is not used with an RTOS #define OSAL_QUEUE_DEF(_int_set, _name, _depth, _type) \ 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 diff --git a/src/typec/tcd.h b/src/typec/tcd.h index 86499c951..bcbdab8ed 100644 --- a/src/typec/tcd.h +++ b/src/typec/tcd.h @@ -63,7 +63,7 @@ typedef struct TU_ATTR_PACKED { } xfer_complete; }; -} tcd_event_t;; +} tcd_event_t; //--------------------------------------------------------------------+ // |
