refactor: comment out progress indicator during wifi setup

This commit is contained in:
ZanzyTHEbar 2023-11-17 10:02:10 +00:00
parent a072e418fe
commit 1bbb61beee
2 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,8 @@ lib_ldf_mode = deep+
;115200 is used for compatability - if you are on windows and want the code to flash faster use 921600
upload_speed = 921600
lib_deps =
https://github.com/espressif/esp32-camera
# https://github.com/espressif/esp32-camera
esp32-camera
https://github.com/me-no-dev/ESPAsyncWebServer.git
https://github.com/me-no-dev/AsyncTCP.git
extra_scripts =

View File

@ -146,8 +146,8 @@ bool WiFiHandler::iniSTA(const std::string& ssid,
while (WiFi.status() != WL_CONNECTED) {
progress++;
currentMillis = millis();
Helpers::update_progress_bar(progress, 100);
delay(301);
/* Helpers::update_progress_bar(progress, 100);
delay(301); */
if ((currentMillis - startingMillis) >= connectionTimeout) {
wifiStateManager.setState(WiFiState_e::WiFiState_Error);
log_e("Connection to: %s TIMEOUT \n\r", ssid.c_str());