modified: firmware/main/src/main.c
modified: firmware/main/src/wifi.c
This commit is contained in:
1 parent
7db85d712e
commit
c5a1e1a80c
2 files changed
+2
-2
No files matched your search
@@ -84,7 +84,7 @@ void app_main() {
|
||||
else {
|
||||
ESP_LOGE(TAG, "Failed to read from SHT31 sensor");
|
||||
}
|
||||
vTaskDelay(60000 / portTICK_RATE_MS);
|
||||
vTaskDelay(45000 / portTICK_RATE_MS);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ static bool wait_for_connected() {
|
||||
ESP_LOGI(TAG, "IP Address: " IPSTR, IP2STR(&ip_info.ip));
|
||||
return ESP_OK;
|
||||
}
|
||||
vTaskDelay(1000 / portTICK_RATE_MS);
|
||||
vTaskDelay(1500 / portTICK_RATE_MS);
|
||||
}
|
||||
ESP_LOGE(TAG, "Timed out waiting for ip address from dhcp server.");
|
||||
return ESP_FAIL;
|
||||
|
||||
Reference in new issue
Block a user