summaryrefslogtreecommitdiff
path: root/tinyusb/osal
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-06-29 21:00:33 +0700
committerhathach <[email protected]>2013-06-29 21:00:33 +0700
commita943cce99110eabeaea98a390a41842a15de715f (patch)
tree8b6a99e5f33ba0593f342ffc8cd31ba4756bdde5 /tinyusb/osal
parent9e607f6deec487ae3da5f94547753070687ca2e7 (diff)
test refractor
Diffstat (limited to 'tinyusb/osal')
-rw-r--r--tinyusb/osal/osal.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tinyusb/osal/osal.h b/tinyusb/osal/osal.h
index 01609cae2..7f61731bb 100644
--- a/tinyusb/osal/osal.h
+++ b/tinyusb/osal/osal.h
@@ -160,11 +160,11 @@ void osal_mutex_reset(osal_mutex_handle_t mutex_hdl);
// QUEUE API
//--------------------------------------------------------------------+
typedef struct{
- uint32_t * const buffer ; ///< buffer 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
+ uint32_t * const buffer ; ///< buffer 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;