From b091820d0ec504032b75a98bb9f1cfb277aabba1 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 20 Apr 2024 22:04:04 +0200 Subject: [PATCH] Changed ESP32 WDT include for v2.2 RNodes --- Utilities.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Utilities.h b/Utilities.h index db60800..5f9bdf7 100644 --- a/Utilities.h +++ b/Utilities.h @@ -63,7 +63,9 @@ sx128x *LoRa = &sx128x_modem; #if BOARD_MODEL == BOARD_HELTEC32_V3 //https://github.com/espressif/esp-idf/issues/8855 #include "hal/wdt_hal.h" - #elif BOARD_MODEL != BOARD_RNODE_NG_22 + #elif BOARD_MODEL == BOARD_RNODE_NG_22 + #include "hal/wdt_hal.h" + #else BOARD_MODEL != BOARD_RNODE_NG_22 #include "soc/rtc_wdt.h" #endif #define ISR_VECT IRAM_ATTR