From bff6826ee127bab33e9c9ca141f38c276039747e Mon Sep 17 00:00:00 2001 From: Jakob Hasse Date: Tue, 19 Jul 2022 15:53:42 +0800 Subject: [PATCH] bugfix (esp_system): made xt_wdt spinlock static --- components/esp_system/xt_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_system/xt_wdt.c b/components/esp_system/xt_wdt.c index 90bbb8e443..2352067655 100644 --- a/components/esp_system/xt_wdt.c +++ b/components/esp_system/xt_wdt.c @@ -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) {