added led blink code while resetting config

This commit is contained in:
RaffaelW 2024-12-21 22:02:01 +01:00
parent 3aeb8ffe5b
commit 4732231fa2

View file

@ -96,9 +96,13 @@ void onButtonPress()
switch (action) switch (action)
{ {
case ResetConfig: case ResetConfig:
ledBlink(100);
config.begin("dmx", false); config.begin("dmx", false);
config.clear(); config.clear();
config.end(); config.end();
delay(1000);
ESP.restart(); ESP.restart();
break; break;