stuff
All checks were successful
Compilie project and upload binaries / test (push) Successful in 3m59s

This commit is contained in:
2025-11-05 22:41:54 +01:00
parent 7e30340e93
commit b68e775350
3 changed files with 3 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ lib_deps =
${env:esp32_base.lib_deps}
robtillaart/INA226@ ~0.6.4
upload_protocol = espota
upload_port = 192.168.6.45
upload_port = 192.168.6.46
build_flags = ${env:esp32_base.build_flags} -DUSE_INA226
[env:native]

View File

@@ -70,7 +70,7 @@ void setup_api_endpoints(){
.ota_status = ota_status
};
xTaskCreate(run_ota_update_task, "RunOTAUpdate", 1024 * 8, (void *)&args, 1, NULL);
xTaskCreate(run_ota_update_task, "RunOTAUpdate", 1024 * 12, (void *)&args, 1, NULL);
request->send(LittleFS, "/update_progress.html", "text/html", false, processor);
});
}

View File

@@ -66,7 +66,7 @@ void update_progress(int cur, int total) {
void update_error(int err) {
LOG(ELOG_LEVEL_ERROR, "OTA Update error: %d", err);
ota_status.update_progress = -2;
ota_status.update_progress = -1;
}
void check_update_task(void* parameter) {