From 667bbc918f5ab62430fb841b77678f8318ac3fa7 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 30 Nov 2021 14:40:35 +0100 Subject: [PATCH] make some debug output optional --- linux/obc/PdecHandler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/linux/obc/PdecHandler.cpp b/linux/obc/PdecHandler.cpp index 027cac80..0c2d207a 100644 --- a/linux/obc/PdecHandler.cpp +++ b/linux/obc/PdecHandler.cpp @@ -295,7 +295,9 @@ bool PdecHandler::checkFrameAna(uint32_t pdecFar) { break; } case(FrameAna_t::FRAME_ACCEPTED): { - sif::debug << "PdecHandler::checkFrameAna: Accepted TC frame" << std::endl; +#if OBSW_DEBUG_PDEC_HANDLER == 1 + sif::info << "PdecHandler::checkFrameAna: Accepted TC frame" << std::endl; +#endif frameValid = true; break; }