Changed ESP32 WDT include for v2.2 RNodes

master
Mark Qvist 10 months ago
parent 390d58e18e
commit b091820d0e
  1. 4
      Utilities.h

@ -63,7 +63,9 @@ sx128x *LoRa = &sx128x_modem;
#if BOARD_MODEL == BOARD_HELTEC32_V3 #if BOARD_MODEL == BOARD_HELTEC32_V3
//https://github.com/espressif/esp-idf/issues/8855 //https://github.com/espressif/esp-idf/issues/8855
#include "hal/wdt_hal.h" #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" #include "soc/rtc_wdt.h"
#endif #endif
#define ISR_VECT IRAM_ATTR #define ISR_VECT IRAM_ATTR

Loading…
Cancel
Save