summaryrefslogtreecommitdiff
path: root/tinyusb
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-14 15:16:45 +0700
committerhathach <[email protected]>2014-03-14 15:16:45 +0700
commitf28746f28ae02030641fba82c43f7827371831a6 (patch)
treede479a797089d3a39ea5cc933e4a545ba5f40be9 /tinyusb
parent0757d2eb6cc7de6d3cafc2280ac214d1181e8c7f (diff)
more warning clean up
Diffstat (limited to 'tinyusb')
-rw-r--r--tinyusb/osal/osal_none.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tinyusb/osal/osal_none.h b/tinyusb/osal/osal_none.h
index 3cb869bd1..4f59361b5 100644
--- a/tinyusb/osal/osal_none.h
+++ b/tinyusb/osal/osal_none.h
@@ -98,6 +98,7 @@ static inline uint32_t osal_tick_get(void)
#define OSAL_TASK_LOOP_BEGIN \
ATTR_UNUSED static uint32_t timeout = 0;\
static uint16_t state = 0;\
+ (void) timeout; /* timemout can possible unsued */ \
switch(state) { \
case 0: { \