diff options
| author | hathach <[email protected]> | 2013-01-16 13:25:02 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-01-16 13:25:02 +0700 |
| commit | 8155fd38a580603af60bc91fa54197b08ce68464 (patch) | |
| tree | 98db374db9fbd50201fd690436cce88fd2363917 /tinyusb | |
| parent | c004cd438724063007eec0f43a4681e84a839252 (diff) | |
added some tests for fifo.c
Diffstat (limited to 'tinyusb')
| -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 ea50bc563..c79299352 100644 --- a/tinyusb/common/fifo.h +++ b/tinyusb/common/fifo.h @@ -66,7 +66,7 @@ typedef struct _fifo_t volatile uint16_t wr_ptr ; ///< write pointer volatile uint16_t rd_ptr ; ///< read pointer bool overwritable ; ///< allow overwrite data when full - IRQn_Type irq ; ///< interrupt used to lock fifo + IRQn_Type irq ; ///< TODO (abstract later) interrupt used to lock fifo } fifo_t; bool fifo_init(fifo_t* f, uint8_t* buffer, uint16_t size, bool overwritable, IRQn_Type irq); |
