summaryrefslogtreecommitdiff
path: root/tinyusb/osal/osal_none.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/osal/osal_none.h')
-rw-r--r--tinyusb/osal/osal_none.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tinyusb/osal/osal_none.h b/tinyusb/osal/osal_none.h
index adcc22ed9..fafaadc3f 100644
--- a/tinyusb/osal/osal_none.h
+++ b/tinyusb/osal/osal_none.h
@@ -142,10 +142,10 @@ static inline tusb_error_t osal_semaphore_post(osal_semaphore_handle_t const se
//--------------------------------------------------------------------+
typedef struct{
uint32_t * const buffer ; ///< buffer pointer
- uint16_t const depth ; ///< buffer size
- volatile uint16_t count ; ///< bytes in fifo
- volatile uint16_t wr_idx ; ///< write pointer
- volatile uint16_t rd_idx ; ///< read pointer
+ uint8_t const depth ; ///< buffer size
+ volatile uint8_t count ; ///< bytes in fifo
+ volatile uint8_t wr_idx ; ///< write pointer
+ volatile uint8_t rd_idx ; ///< read pointer
} osal_queue_t;
typedef osal_queue_t * osal_queue_handle_t;