continuation of failed mpsoc update
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user