From f9698aedaebe9b6edd4a13670cd1bfcb35883136 Mon Sep 17 00:00:00 2001 From: HiFiPhile Date: Mon, 22 Jun 2026 21:23:49 +0200 Subject: osal: add missing osal_spin_deinit() Signed-off-by: HiFiPhile --- src/osal/osal_zephyr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/osal/osal_zephyr.h') diff --git a/src/osal/osal_zephyr.h b/src/osal/osal_zephyr.h index 91f225f79..f0e1a6a2e 100644 --- a/src/osal/osal_zephyr.h +++ b/src/osal/osal_zephyr.h @@ -50,6 +50,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) { if (!TUP_MCU_MULTIPLE_CORE && in_isr) { return; // single core MCU does not need to lock in ISR -- cgit v1.3.1