summaryrefslogtreecommitdiff
path: root/src/osal/osal_zephyr.h
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2026-06-22 21:23:49 +0200
committerHiFiPhile <[email protected]>2026-06-22 21:23:49 +0200
commitf9698aedaebe9b6edd4a13670cd1bfcb35883136 (patch)
treeda067c482c0ff272bb9047db16758ec7c4c5d4cb /src/osal/osal_zephyr.h
parentf7617168e2ce2e7ea2e49cba5962b69aed04900e (diff)
osal: add missing osal_spin_deinit()
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'src/osal/osal_zephyr.h')
-rw-r--r--src/osal/osal_zephyr.h4
1 files changed, 4 insertions, 0 deletions
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