Skip to content

Commit d1aba86

Browse files
committed
Pull new ERR_ values into upstream
1 parent 5ad2287 commit d1aba86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wled00/const.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,8 @@ static_assert(WLED_MAX_BUSSES <= 32, "WLED_MAX_BUSSES exceeds hard limit");
440440
#define ERR_OVERTEMP 30 // An attached temperature sensor has measured above threshold temperature (not implemented)
441441
#define ERR_OVERCURRENT 31 // An attached current sensor has measured a current above the threshold (not implemented)
442442
#define ERR_UNDERVOLT 32 // An attached voltmeter has measured a voltage below the threshold (not implemented)
443+
#define ERR_REBOOT_NEEDED 98 // reboot needed after changing hardware setting
444+
#define ERR_POWEROFF_NEEDED 99 // power-cycle needed after changing hardware setting
443445

444446
// Timer mode types
445447
#define NL_MODE_SET 0 //After nightlight time elapsed, set to target brightness

0 commit comments

Comments
 (0)