make some debug output optional

This commit is contained in:
Robin Müller 2021-11-30 14:40:35 +01:00
parent ac3790b659
commit 667bbc918f
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -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;
}