mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-05-19 10:32:56 +00:00
added led blink code while resetting config
This commit is contained in:
parent
3aeb8ffe5b
commit
4732231fa2
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue