bugfix (esp_system): made xt_wdt spinlock static

This commit is contained in:
Jakob Hasse
2022-07-19 15:53:42 +08:00
committed by morris
parent 37bc05c84d
commit bff6826ee1

View File

@@ -31,7 +31,7 @@ static xt_wdt_hal_context_t s_hal_ctx;
static esp_xt_callback_t s_callback_func;
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)
{