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) {
2721
2721
break ; /* *<14, for APP CPU, reseted by PRO CPU*/
2722
2722
case 15 :
2723
2723
WS_DEBUG_PRINTLN (" RTCWDT_BROWN_OUT_RESET" );
2724
+ WS.brownOutCausedReset = true ;
2724
2725
break ; /* *<15, Reset when the vdd voltage is not stable*/
2725
2726
case 16 :
2726
2727
WS_DEBUG_PRINTLN (" RTCWDT_RTC_RESET" );
Original file line number Diff line number Diff line change @@ -254,9 +254,10 @@ class Wippersnapper {
254
254
255
255
void provision ();
256
256
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
260
261
float status_pixel_brightness =
261
262
STATUS_PIXEL_BRIGHTNESS_DEFAULT; // /< Global status pixel's brightness
262
263
// /< (from 0.0 to 1.0)
You can’t perform that action at this time.
0 commit comments