diff options
| author | Reinhard Panhuber <[email protected]> | 2021-03-10 19:33:11 +0100 |
|---|---|---|
| committer | Reinhard Panhuber <[email protected]> | 2021-03-10 19:33:11 +0100 |
| commit | 8cb3bd3cd30172d3023facb2522a435b414a3b7e (patch) | |
| tree | 1bc65aa35561cc43f4fab139a3a6e2654b110faa /src/common | |
| parent | d5a5a1cab63e8e43b22f13db95df35afdfa6befb (diff) | |
| parent | a397353916db36d925f5aec654fc66d5ca09f427 (diff) | |
Merge remote-tracking branch 'upstream/edpt_ISO_xfer' into edpt_ISO_xfer
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_fifo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tusb_fifo.h b/src/common/tusb_fifo.h index d31e52f1c..4b4fe92ba 100644 --- a/src/common/tusb_fifo.h +++ b/src/common/tusb_fifo.h @@ -53,6 +53,7 @@ extern "C" { #endif #if CFG_FIFO_MUTEX +#include "osal/osal.h" #define tu_fifo_mutex_t osal_mutex_t #endif @@ -108,7 +109,7 @@ static inline void tu_fifo_config_mutex(tu_fifo_t *f, tu_fifo_mutex_t write_mute bool tu_fifo_write (tu_fifo_t* f, void const * p_data); uint16_t tu_fifo_write_n (tu_fifo_t* f, void const * p_data, uint16_t n); -uint16_t tu_fifo_write_n_const_addr (tu_fifo_t* f, const void * data, uint16_t n); +uint16_t tu_fifo_write_n_const_addr (tu_fifo_t* f, const void * data, uint16_t n); bool tu_fifo_read (tu_fifo_t* f, void * p_buffer); uint16_t tu_fifo_read_n (tu_fifo_t* f, void * p_buffer, uint16_t n); |
