summaryrefslogtreecommitdiff
path: root/tinyusb/osal
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/osal')
-rw-r--r--tinyusb/osal/osal_none.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/osal/osal_none.h b/tinyusb/osal/osal_none.h
index 008264265..0e82b8aa9 100644
--- a/tinyusb/osal/osal_none.h
+++ b/tinyusb/osal/osal_none.h
@@ -105,12 +105,12 @@ static inline uint32_t osal_tick_get(void)
ATTR_UNUSED static uint32_t timeout = 0;\
static uint16_t state = 0;\
switch(state) {\
- case 0:\
+ case 0:{\
#define OSAL_TASK_LOOP_END \
default:\
TASK_RESTART;\
- }\
+ }}\
return TUSB_ERROR_NONE;