diff options
| author | hathach <[email protected]> | 2025-05-21 11:19:07 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2025-05-21 11:19:07 +0700 |
| commit | c1d23a0a92bef016e22be3ed8194230cfab1c358 (patch) | |
| tree | 3c3db1607a1762ab47062208d3ec5295489cc307 /src/osal/osal_none.h | |
| parent | a4875fefead1a2b27f13a588dea44eaca737f553 (diff) | |
osal_spin skipping lock/unlock when executed in isr
Diffstat (limited to 'src/osal/osal_none.h')
| -rw-r--r-- | src/osal/osal_none.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osal/osal_none.h b/src/osal/osal_none.h index 2a0170ba4..a8eb1042b 100644 --- a/src/osal/osal_none.h +++ b/src/osal/osal_none.h @@ -47,7 +47,7 @@ typedef struct { void (* interrupt_set)(bool); } osal_spinlock_t; -// For SMP, spinlock must be locked by hardware, not use interrupt +// For SMP, spinlock must be locked by hardware, cannot just use interrupt #define OSAL_SPINLOCK_DEF(_name, _int_set) \ osal_spinlock_t _name = { .interrupt_set = _int_set } |
