diff options
| author | hathach <[email protected]> | 2022-12-21 10:46:47 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-12-21 10:46:47 +0700 |
| commit | 37529c41da3884c235ac4f582b7202331877142c (patch) | |
| tree | 92183989f92c658ac8d85b716a3cc88a85adf06f /src/class | |
| parent | 854e5222aea570a2be2201d8c460f54b87c9108a (diff) | |
fix ci
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/cdc/cdc_host.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/class/cdc/cdc_host.c b/src/class/cdc/cdc_host.c index bdfbe3e74..5aec41cbc 100644 --- a/src/class/cdc/cdc_host.c +++ b/src/class/cdc/cdc_host.c @@ -54,6 +54,7 @@ bool tu_edpt_stream_init(tu_edpt_stream_t* s, bool use_wr_mutex, bool overwritab { osal_mutex_t new_mutex = osal_mutex_create(&s->ff_mutex); (void) new_mutex; + (void) use_wr_mutex; tu_fifo_config(&s->ff, ff_buf, ff_bufsize, 1, overwritable); tu_fifo_config_mutex(&s->ff, use_wr_mutex ? new_mutex : NULL, use_wr_mutex ? NULL : new_mutex); |
