diff options
| author | hathach <[email protected]> | 2026-03-13 12:39:24 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-03-13 12:39:24 +0700 |
| commit | 911956f4534701f7fd06af8758f8e0ada0d3456b (patch) | |
| tree | 16d9bfe8b77cbaab99fa3065b12b2a08c6cffe24 /src/osal | |
| parent | aa1535a226ef5de12f01e4334e0e6c08ecb3b869 (diff) | |
remove TUSB_MCU_VENDOR_ESPRESSIF, use ESP_PLATFORM for Espressif
Diffstat (limited to 'src/osal')
| -rw-r--r-- | src/osal/osal_freertos.h | 2 |
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; |
