diff options
| author | hathach <[email protected]> | 2012-12-10 14:58:25 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2012-12-10 14:58:25 +0700 |
| commit | 3eb7465e5ee8ea6298fcf134f853174fd9560a4c (patch) | |
| tree | 5036198df7331ed5430ac1c2b664fd50ec49b1cf /tinyusb/common/fifo.h | |
| parent | b52b3b1cef3e8415542922b41db436202af340bf (diff) | |
abstract usb enable/disable interrupt to hal layer
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 d9e8389f1..7f8312e1f 100644 --- a/tinyusb/common/fifo.h +++ b/tinyusb/common/fifo.h @@ -74,7 +74,7 @@ void fifo_init(fifo_t* f, uint8_t* buffer, uint16_t size, bool overwritable, IRQ bool fifo_write(fifo_t* f, uint8_t data); bool fifo_read(fifo_t* f, uint8_t *data); uint16_t fifo_readArray(fifo_t* f, uint8_t * rx, uint16_t maxlen); -void fifo_clear(fifo_t*); +void fifo_clear(fifo_t *f); static inline bool fifo_isEmpty(fifo_t* f) { |
