Skip to content

Commit

Permalink
fixed state transition issue in FirmwareService that leads to abortin…
Browse files Browse the repository at this point in the history
…g a running update process when in download phase
  • Loading branch information
OlliLenz committed Oct 19, 2023
1 parent 38f1e6b commit 29621c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MicroOcpp/Model/FirmwareManagement/FirmwareService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 29621c7

Please sign in to comment.