implemented entering recovery mode
recovery mode itself does not work yet
This commit is contained in:
parent
e31d33273a
commit
ee924b8b30
4 changed files with 24 additions and 1 deletions
|
@ -73,7 +73,9 @@ bool ESPMegaPRO::begin()
|
|||
esp_restart();
|
||||
}
|
||||
}
|
||||
|
||||
// Recovery Mode
|
||||
recovery.bindFRAM(&fram, 600);
|
||||
recovery.begin();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -89,6 +91,7 @@ void ESPMegaPRO::loop()
|
|||
{
|
||||
inputs.loop();
|
||||
outputs.loop();
|
||||
recovery.loop();
|
||||
for (int i = 0; i < 255; i++)
|
||||
{
|
||||
if (cardInstalled[i])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue