mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
refactor: comment out progress indicator during wifi setup
This commit is contained in:
parent
a072e418fe
commit
1bbb61beee
@ -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
|
;115200 is used for compatability - if you are on windows and want the code to flash faster use 921600
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
lib_deps =
|
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/ESPAsyncWebServer.git
|
||||||
https://github.com/me-no-dev/AsyncTCP.git
|
https://github.com/me-no-dev/AsyncTCP.git
|
||||||
extra_scripts =
|
extra_scripts =
|
||||||
|
|||||||
@ -146,8 +146,8 @@ bool WiFiHandler::iniSTA(const std::string& ssid,
|
|||||||
while (WiFi.status() != WL_CONNECTED) {
|
while (WiFi.status() != WL_CONNECTED) {
|
||||||
progress++;
|
progress++;
|
||||||
currentMillis = millis();
|
currentMillis = millis();
|
||||||
Helpers::update_progress_bar(progress, 100);
|
/* Helpers::update_progress_bar(progress, 100);
|
||||||
delay(301);
|
delay(301); */
|
||||||
if ((currentMillis - startingMillis) >= connectionTimeout) {
|
if ((currentMillis - startingMillis) >= connectionTimeout) {
|
||||||
wifiStateManager.setState(WiFiState_e::WiFiState_Error);
|
wifiStateManager.setState(WiFiState_e::WiFiState_Error);
|
||||||
log_e("Connection to: %s TIMEOUT \n\r", ssid.c_str());
|
log_e("Connection to: %s TIMEOUT \n\r", ssid.c_str());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user