Changed ESP32 WDT include for v2.2 RNodes

This commit is contained in:
Mark Qvist 2024-04-20 22:04:04 +02:00
parent 390d58e18e
commit b091820d0e

View File

@ -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