From 5ff161b70a04448ec64cad9fe519ff6f2078ee2d Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 17 Apr 2024 20:49:57 +0200 Subject: [PATCH] print fix for SOURCE --- src/fsfw/coordinates/CoordinateTransformations.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fsfw/coordinates/CoordinateTransformations.cpp b/src/fsfw/coordinates/CoordinateTransformations.cpp index 60dc4301..271fb020 100644 --- a/src/fsfw/coordinates/CoordinateTransformations.cpp +++ b/src/fsfw/coordinates/CoordinateTransformations.cpp @@ -103,9 +103,11 @@ double CoordinateTransformations::getJuleanCenturiesTT(timeval timeUTC) { if (result != returnvalue::OK) { // i think it is better to continue here than to abort timeTT = timeUTC; +#if FSFW_CPP_OSTREAM_ENABLED == 1 sif::error << "CoordinateTransformations::Conversion from UTC to TT failed. Continuing " "calculations with UTC." << std::endl; +#endif } double jD2000TT; Clock::convertTimevalToJD2000(timeTT, &jD2000TT);