all cstdout uses wrapped in preprocessor defines

This commit is contained in:
muellerr committed 2021-01-03 13:58:18 +01:00
1 parent 61fc6cac97
commit c19e628d79
96 files changed
+715 -14

No files matched your search

+6
View File
@@ -222,8 +222,10 @@ ReturnValue_t Service3Housekeeping::handleReply(const CommandMessage* reply,
}
default:
#if CPP_OSTREAM_ENABLED == 1
sif::error << "Service3Housekeeping::handleReply: Invalid reply with "
<< "reply command " << command << "!" << std::endl;
#endif
return CommandingServiceBase::INVALID_REPLY;
}
return HasReturnvaluesIF::RETURN_OK;
@@ -249,16 +251,20 @@ void Service3Housekeeping::handleUnrequestedReply(
}
default:
#if CPP_OSTREAM_ENABLED == 1
sif::error << "Service3Housekeeping::handleUnrequestedReply: Invalid "
<< "reply with " << "reply command " << command << "!"
<< std::endl;
#endif
return;
}
if(result != HasReturnvaluesIF::RETURN_OK) {
// Configuration error
#if CPP_OSTREAM_ENABLED == 1
sif::debug << "Service3Housekeeping::handleUnrequestedReply:"
<< "Could not generate reply!" << std::endl;
#endif
}
}