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);