summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavide Gerhard <[email protected]>2024-06-27 21:30:16 +0200
committerDavide Gerhard <[email protected]>2024-06-27 21:30:16 +0200
commit85e1f423bf67776bf2c7113f3f287297f6e81404 (patch)
treecad88ae485bc05e7913e7e066b2a22402ceb0024 /src
parent13dedddd1963e67251f75b3e3ebd654d74d8aa56 (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.h2
-rw-r--r--src/typec/tcd.h2
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;
//--------------------------------------------------------------------+
//