mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-10-27 20:24:50 +08:00
fix(newlib): Fix application disable intterupt then call newlib internal mutex function
This commit is contained in:
@ -224,6 +224,13 @@ void esp_mem_trace(const void *ptr, const char *trace, int no);
|
||||
*/
|
||||
#define esp_mem_mark_file(ptr) esp_mem_trace((ptr), __FILE__, LINE__)
|
||||
|
||||
/*
|
||||
* @brief check if CPU core interrupt is disable
|
||||
*
|
||||
* @return true if interrupt is disable or false
|
||||
*/
|
||||
bool interrupt_is_disable(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user