Skip to content

Commit

Permalink
Merge pull request #2689 from ra1nb0w/semicolon
Browse files Browse the repository at this point in the history
remove double semicolon since ISO C not allow it
  • Loading branch information
HiFiPhile authored Jun 27, 2024
2 parents 13deddd + 85e1f42 commit 756ad35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/osal/osal_freertos.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/typec/tcd.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ typedef struct TU_ATTR_PACKED {
} xfer_complete;
};

} tcd_event_t;;
} tcd_event_t;

//--------------------------------------------------------------------+
//
Expand Down

0 comments on commit 756ad35

Please sign in to comment.