From 3c21240353196c3ced2ff6345e7b8127c7113c59 Mon Sep 17 00:00:00 2001 From: Pascal Brunot Date: Sat, 18 May 2024 13:17:07 +0200 Subject: [PATCH] Make boot faster by skipping portal timeout error --- src/main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 399d7fcc..41b82eca 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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)