Skip to content

Commit 756ad35

Browse files
authored
Merge pull request #2689 from ra1nb0w/semicolon
remove double semicolon since ISO C not allow it
2 parents 13deddd + 85e1f42 commit 756ad35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/osal/osal_freertos.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ typedef struct
7878
// _int_set is not used with an RTOS
7979
#define OSAL_QUEUE_DEF(_int_set, _name, _depth, _type) \
8080
static _type _name##_##buf[_depth];\
81-
osal_queue_def_t _name = { .depth = _depth, .item_sz = sizeof(_type), .buf = _name##_##buf, _OSAL_Q_NAME(_name) };
81+
osal_queue_def_t _name = { .depth = _depth, .item_sz = sizeof(_type), .buf = _name##_##buf, _OSAL_Q_NAME(_name) }
8282

8383
//--------------------------------------------------------------------+
8484
// TASK API

src/typec/tcd.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ typedef struct TU_ATTR_PACKED {
6363
} xfer_complete;
6464
};
6565

66-
} tcd_event_t;;
66+
} tcd_event_t;
6767

6868
//--------------------------------------------------------------------+
6969
//

0 commit comments

Comments
 (0)