Merge branch 'bugfix/esp_system_make_xt_wdt_lock_static' into 'master'

bugfix (esp_system): made xt_wdt spinlock static

See merge request espressif/esp-idf!19113
This commit is contained in:
morris 2022-07-22 18:20:20 +08:00
commit dc7d39d6cf

View File

@ -31,7 +31,7 @@ static xt_wdt_hal_context_t s_hal_ctx;
static esp_xt_callback_t s_callback_func; static esp_xt_callback_t s_callback_func;
static void *s_callback_arg; static void *s_callback_arg;
portMUX_TYPE s_xt_wdt_lock = portMUX_INITIALIZER_UNLOCKED; static portMUX_TYPE s_xt_wdt_lock = portMUX_INITIALIZER_UNLOCKED;
static IRAM_ATTR void rtc_xt_wdt_default_isr_handler(void *arg) static IRAM_ATTR void rtc_xt_wdt_default_isr_handler(void *arg)
{ {