diff options
| author | hathach <[email protected]> | 2018-03-08 14:02:53 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-08 14:02:53 +0700 |
| commit | c8e9fb52d40d17a9d3ca859e863f28c055fae3d7 (patch) | |
| tree | 45a27447840b5849584c5366707cbb86024d2f3a /tinyusb/common/fifo.h | |
| parent | 817f23e5e0f976814dfa0b5ccfa1f9f5cd1c3885 (diff) | |
rename fifo_count
Diffstat (limited to 'tinyusb/common/fifo.h')
| -rw-r--r-- | tinyusb/common/fifo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/common/fifo.h b/tinyusb/common/fifo.h index 936719c2d..1c524f3a5 100644 --- a/tinyusb/common/fifo.h +++ b/tinyusb/common/fifo.h @@ -131,7 +131,7 @@ static inline bool fifo_full(fifo_t* f) return (f->count == f->depth);
}
-static inline uint16_t fifo_get_length(fifo_t* f)
+static inline uint16_t fifo_count(fifo_t* f)
{
return f->count;
}
|
