summaryrefslogtreecommitdiff
path: root/src/osal
diff options
context:
space:
mode:
authorMengsk <[email protected]>2023-01-02 17:12:03 +0100
committerMengsk <[email protected]>2023-01-02 21:18:10 +0100
commit82f105e32b3b299509daa1dc24d6aa94f5ce63fb (patch)
treefb8133341f91c3d688116aeafb30dea8c915cdb7 /src/osal
parent549bee94add9d8f1c346bfa0fa6b25481db3f191 (diff)
Fix IAR warning: Warning[Pe381]: extra ";" ignored
Diffstat (limited to 'src/osal')
-rw-r--r--src/osal/osal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osal/osal.h b/src/osal/osal.h
index 9cdab2882..afa3826fc 100644
--- a/src/osal/osal.h
+++ b/src/osal/osal.h
@@ -44,7 +44,7 @@ typedef void (*osal_task_func_t)( void * );
// Mutex is required when using a preempted RTOS or MCU has multiple cores
#if (CFG_TUSB_OS == OPT_OS_NONE) && !TUP_MCU_MULTIPLE_CORE
#define OSAL_MUTEX_REQUIRED 0
- #define OSAL_MUTEX_DEF(_name)
+ #define OSAL_MUTEX_DEF(_name) uint8_t :0
#else
#define OSAL_MUTEX_REQUIRED 1
#define OSAL_MUTEX_DEF(_name) osal_mutex_def_t _name