diff options
| author | hathach <[email protected]> | 2018-12-05 17:01:19 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-12-05 17:01:19 +0700 |
| commit | 6f3898572d6f8eb04587f057b74f4f86e8a18856 (patch) | |
| tree | ce616c2d450b81d40ad729a5f143a65913324df6 /src/common | |
| parent | 250344ac01a2023659f9fe150a3aa17c938f6f85 (diff) | |
add role to OSAL_QUEUE_DEF() to disable correct dcd/hcd isr
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/tusb_fifo.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/tusb_fifo.h b/src/common/tusb_fifo.h index 61d92b602..e88c2ac6d 100644 --- a/src/common/tusb_fifo.h +++ b/src/common/tusb_fifo.h @@ -67,13 +67,12 @@ typedef struct uint8_t* buffer ; ///< buffer pointer
uint16_t depth ; ///< max items
uint16_t item_size ; ///< size of each item
+ bool overwritable ;
volatile uint16_t count ; ///< number of items in queue
volatile uint16_t wr_idx ; ///< write pointer
volatile uint16_t rd_idx ; ///< read pointer
- bool overwritable ;
-
#if CFG_FIFO_MUTEX
tu_fifo_mutex_t mutex;
#endif
|
