From 29621c70d4f897b9141326194109d8be8a94d7d4 Mon Sep 17 00:00:00 2001 From: Oliver Lenz Date: Thu, 19 Oct 2023 08:19:56 +0200 Subject: [PATCH] fixed state transition issue in FirmwareService that leads to aborting a running update process when in download phase --- src/MicroOcpp/Model/FirmwareManagement/FirmwareService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MicroOcpp/Model/FirmwareManagement/FirmwareService.cpp b/src/MicroOcpp/Model/FirmwareManagement/FirmwareService.cpp index f897d3a9..0c41cd90 100644 --- a/src/MicroOcpp/Model/FirmwareManagement/FirmwareService.cpp +++ b/src/MicroOcpp/Model/FirmwareManagement/FirmwareService.cpp @@ -111,8 +111,8 @@ void FirmwareService::loop() { timestampTransition = mocpp_tick_ms(); delayTransition = 10000; - return; } + return; } else { //if client doesn't report download state, assume download to be finished (at least 30s download time have passed until here) if (downloadStatusInput == nullptr) {