fixed merge conflicts

This commit is contained in:
Jakob Meier
2022-06-05 10:54:46 +02:00
149 changed files with 5366 additions and 2912 deletions

View File

@ -1,3 +1,4 @@
<<<<<<< HEAD
target_sources(${LIB_EIVE_MISSION} PRIVATE
Timestamp.cpp
ProgressPrinter.cpp
@ -5,3 +6,7 @@ target_sources(${LIB_EIVE_MISSION} PRIVATE
)
=======
target_sources(${LIB_EIVE_MISSION} PRIVATE TmFunnel.cpp Timestamp.cpp
ProgressPrinter.cpp Filenaming.cpp)
>>>>>>> meier/thermal-controller-fix

View File

@ -1,5 +1,6 @@
#include "ProgressPrinter.h"
#include <cmath>
#include <iomanip>
#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;
}
}