print fix for SOURCE

This commit is contained in:
Robin Müller 2024-04-17 20:49:57 +02:00
parent 9a1e82de2a
commit 5ff161b70a
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -103,9 +103,11 @@ double CoordinateTransformations::getJuleanCenturiesTT(timeval timeUTC) {
if (result != returnvalue::OK) { if (result != returnvalue::OK) {
// i think it is better to continue here than to abort // i think it is better to continue here than to abort
timeTT = timeUTC; timeTT = timeUTC;
#if FSFW_CPP_OSTREAM_ENABLED == 1
sif::error << "CoordinateTransformations::Conversion from UTC to TT failed. Continuing " sif::error << "CoordinateTransformations::Conversion from UTC to TT failed. Continuing "
"calculations with UTC." "calculations with UTC."
<< std::endl; << std::endl;
#endif
} }
double jD2000TT; double jD2000TT;
Clock::convertTimevalToJD2000(timeTT, &jD2000TT); Clock::convertTimevalToJD2000(timeTT, &jD2000TT);