diff --git a/src/hal/lolin32lite.h b/src/hal/lolin32lite.h index 70dfbcdf..3c3942e8 100644 --- a/src/hal/lolin32lite.h +++ b/src/hal/lolin32lite.h @@ -7,9 +7,10 @@ // Hardware related definitions for lolin32lite (without LoRa shield) -#define HAS_LORA 0 // no LoRa module -#define CFG_sx1272_radio 1 // dummy #define HAS_LED LED_BUILTIN // on board LED on GPIO5 #define LED_ACTIVE_LOW 1 // Onboard LED is active when pin is LOW -#endif +// disable brownout detection (avoid unexpected reset on some boards) +#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature + +#endif \ No newline at end of file diff --git a/src/hal/wemos32oled.h b/src/hal/wemos32oled.h index d5c27832..3917dfea 100644 --- a/src/hal/wemos32oled.h +++ b/src/hal/wemos32oled.h @@ -40,6 +40,6 @@ // user defined sensors (if connected) //#define HAS_SENSORS 1 // comment out if device has user defined sensors -//#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature +#define DISABLE_BROWNOUT 1 // comment out if you want to keep brownout feature #endif