diff --git a/src/main.cpp b/src/main.cpp index 4f380e4..fcc6890 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -6,6 +6,8 @@ #include #include #include +#include "soc/soc.h" // Disable brownout problems +#include "soc/rtc_cntl_reg.h" // Disable brownout problems #include #include @@ -126,6 +128,7 @@ void setupOAT(){ } void setup(){ + WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); Serial.begin(BAUDRATE); Serial.setDebugOutput(SERIAL_DEBUG_OUTPUT);