diff options
| author | HiFiPhile <[email protected]> | 2024-09-04 20:06:47 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-09-04 20:06:47 +0200 |
| commit | 3eea46056ea20aa12b73eea7c01d6c6e5b2d490a (patch) | |
| tree | 79d053674c7918e38d6317828076bb39bdf902cc /src/common | |
| parent | 55951b71aea46c09f27afe1640454fe43c983eec (diff) | |
| parent | 6935c663094bbba58e03c7820f4c2893fbce61a1 (diff) | |
Merge pull request #2788 from dp111/cppcheck
make function prototypes match functions( found by cppcheck)
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_fifo.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/tusb_fifo.h b/src/common/tusb_fifo.h index 6c0efb509..879acda4f 100644 --- a/src/common/tusb_fifo.h +++ b/src/common/tusb_fifo.h @@ -154,14 +154,14 @@ void tu_fifo_config_mutex(tu_fifo_t *f, osal_mutex_t wr_mutex, osal_mutex_t rd_m #define tu_fifo_config_mutex(_f, _wr_mutex, _rd_mutex) #endif -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); +bool tu_fifo_write (tu_fifo_t* f, void const * data); +uint16_t tu_fifo_write_n (tu_fifo_t* f, void const * data, uint16_t n); #ifdef TUP_MEM_CONST_ADDR uint16_t tu_fifo_write_n_const_addr_full_words (tu_fifo_t* f, const void * data, uint16_t n); #endif -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); +bool tu_fifo_read (tu_fifo_t* f, void * buffer); +uint16_t tu_fifo_read_n (tu_fifo_t* f, void * buffer, uint16_t n); #ifdef TUP_MEM_CONST_ADDR uint16_t tu_fifo_read_n_const_addr_full_words (tu_fifo_t* f, void * buffer, uint16_t n); #endif |
