Skip to content

Commit

Permalink
Make boot faster by skipping portal timeout error
Browse files Browse the repository at this point in the history
  • Loading branch information
PBrunot committed May 18, 2024
1 parent 79f1f78 commit 3c21240
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,11 @@ namespace fabomatic
}
else
{
Board::logic.changeStatus(Status::PortalFailed);
delay(3000);
if (!disable_portal && !config.disablePortal)
{
Board::logic.changeStatus(Status::PortalFailed);
delay(3000);
}
}

if (shouldSaveConfig)
Expand Down

0 comments on commit 3c21240

Please sign in to comment.