diff options
Diffstat (limited to 'src/osal/osal_none.h')
| -rw-r--r-- | src/osal/osal_none.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osal/osal_none.h b/src/osal/osal_none.h index e174d3518..49439cef0 100644 --- a/src/osal/osal_none.h +++ b/src/osal/osal_none.h @@ -70,6 +70,10 @@ TU_ATTR_ALWAYS_INLINE static inline void osal_spin_init(osal_spinlock_t *ctx) { (void) ctx; } +TU_ATTR_ALWAYS_INLINE static inline void osal_spin_deinit(osal_spinlock_t *ctx) { + (void) ctx; +} + TU_ATTR_ALWAYS_INLINE static inline void osal_spin_lock(osal_spinlock_t *ctx, bool in_isr) { // Disable interrupts first to make nested_count increment atomic if (!in_isr && ctx->nested_count == 0) { |
