continuation of failed mpsoc update
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Jakob Meier
2022-05-23 12:05:42 +02:00
parent bb397a58de
commit fb5c6c4c17
14 changed files with 966 additions and 848 deletions

View File

@ -1,6 +1,7 @@
#include "ProgressPrinter.h"
#include <iomanip>
#include <cmath>
#include "fsfw/serviceinterface/ServiceInterfaceStream.h"
@ -16,4 +17,9 @@ void ProgressPrinter::print(uint32_t currentStep) {
<< std::endl;
nextProgressPrint += percentageResolution;
}
if (nextProgressPrint - progressInPercent < 0) {
nextProgressPrint =
(std::floor(progressInPercent / percentageResolution) * percentageResolution) +
percentageResolution;
}
}