Fix wrong comments, rename pos to offset, rename overflow().

This commit is contained in:
Reinhard Panhuber
2020-09-25 15:58:28 +02:00
parent 52c9a467b4
commit 9ddcfc09d7
2 changed files with 36 additions and 35 deletions

View File

@@ -112,7 +112,7 @@ uint16_t tu_fifo_count (tu_fifo_t* f);
bool tu_fifo_empty (tu_fifo_t* f);
bool tu_fifo_full (tu_fifo_t* f);
uint16_t tu_fifo_remaining (tu_fifo_t* f);
bool tu_fifo_overflow (tu_fifo_t* f);
bool tu_fifo_overflowed (tu_fifo_t* f);
void tu_fifo_correct_read_pointer (tu_fifo_t* f);
// Pointer modifications intended to be used in combinations with DMAs.