File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2721,6 +2721,7 @@ void print_reset_reason(int reason) {
27212721 break ; /* *<14, for APP CPU, reseted by PRO CPU*/
27222722 case 15 :
27232723 WS_DEBUG_PRINTLN (" RTCWDT_BROWN_OUT_RESET" );
2724+ WS.brownOutCausedReset = true ;
27242725 break ; /* *<15, Reset when the vdd voltage is not stable*/
27252726 case 16 :
27262727 WS_DEBUG_PRINTLN (" RTCWDT_RTC_RESET" );
Original file line number Diff line number Diff line change @@ -254,9 +254,10 @@ class Wippersnapper {
254254
255255 void provision ();
256256
257- bool lockStatusNeoPixel; // /< True if status LED is using the status neopixel
258- bool lockStatusDotStar; // /< True if status LED is using the status dotstar
259- bool lockStatusLED; // /< True if status LED is using the built-in LED
257+ bool brownOutCausedReset = false ; // /< True if low power reset - flash write issues
258+ bool lockStatusNeoPixel; // /< True if status LED is using the status neopixel
259+ bool lockStatusDotStar; // /< True if status LED is using the status dotstar
260+ bool lockStatusLED; // /< True if status LED is using the built-in LED
260261 float status_pixel_brightness =
261262 STATUS_PIXEL_BRIGHTNESS_DEFAULT; // /< Global status pixel's brightness
262263 // /< (from 0.0 to 1.0)
You can’t perform that action at this time.
0 commit comments