summaryrefslogtreecommitdiff
path: root/src/osal
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2026-03-14 13:31:49 +0700
committerGitHub <[email protected]>2026-03-14 13:31:49 +0700
commit8b59e6234dfe34f4d0658cea43b338eb04efa3c5 (patch)
tree818140d6c447bd5da959fcdcab1c123295e43f39 /src/osal
parentf98f7e003fc8c4bcdf503e8c9bff29122b70cc9e (diff)
parentc5e3098c37cf165ffde9a304238558294e328e73 (diff)
Merge pull request #3550 from hathach/update-bsp
Update BSP
Diffstat (limited to 'src/osal')
-rw-r--r--src/osal/osal_freertos.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osal/osal_freertos.h b/src/osal/osal_freertos.h
index db724179d..898edd4ed 100644
--- a/src/osal/osal_freertos.h
+++ b/src/osal/osal_freertos.h
@@ -109,7 +109,7 @@ TU_ATTR_ALWAYS_INLINE static inline uint32_t osal_time_millis(void) {
#define OSAL_SPINLOCK_DEF(_name, _int_set) \
osal_spinlock_t _name
-#if TUSB_MCU_VENDOR_ESPRESSIF
+#ifdef ESP_PLATFORM
// Espressif critical take spinlock as argument and does not use in_isr
typedef portMUX_TYPE osal_spinlock_t;