DECLARE_CRIT_SECTION_LOCK_IN_STRUCT is only used within ESP-IDF.
 
Symbols
loading...
Files
loading (1/5)...
SummarySyntaxArgumentsReferences

Notes

When using this macro, the critical section macros esp_os_enter_critical* and esp_os_exit_critical* MUST be used, otherwise normal functions would be passed an undefined variable when build for single-core systems. Do NOT add any semicolon after declaring the member with this macro. The trailing semicolon is included in the macro, otherwise -Wpedantic would complain about superfluous ";" if OS_SPINLOCK == 0.

References