mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-03 07:21:36 +00:00
more warning clean up
This commit is contained in:
parent
0757d2eb6c
commit
f28746f28a
@ -98,6 +98,7 @@ static inline uint32_t osal_tick_get(void)
|
|||||||
#define OSAL_TASK_LOOP_BEGIN \
|
#define OSAL_TASK_LOOP_BEGIN \
|
||||||
ATTR_UNUSED static uint32_t timeout = 0;\
|
ATTR_UNUSED static uint32_t timeout = 0;\
|
||||||
static uint16_t state = 0;\
|
static uint16_t state = 0;\
|
||||||
|
(void) timeout; /* timemout can possible unsued */ \
|
||||||
switch(state) { \
|
switch(state) { \
|
||||||
case 0: { \
|
case 0: { \
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user