added option to add CR for printf support
This commit is contained in:
@@ -110,13 +110,12 @@ void LocalPoolObjectBase::reportReadCommitError(const char* variableType,
|
||||
|
||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||
sif::warning << variableType << ": " << type << " call | " << errMsg
|
||||
<< " | Owner: " << std::hex << std::setw(8)
|
||||
<< std::setfill('0') << objectId << " LPID: 0x" << lpId
|
||||
<< std::dec << std::endl;
|
||||
<< " | Owner: 0x" << std::hex << std::setw(8)
|
||||
<< std::setfill('0') << objectId << std::dec << " LPID: " << lpId
|
||||
<< std::endl;
|
||||
#else
|
||||
fsfw::printWarning("LocalPoolVariable: %s of local pool variable of "
|
||||
"object 0x%08x and lp ID 0x%08x failed.\n\r",
|
||||
type, objectId, lpId);
|
||||
fsfw::printWarning("%s: %s call | %s | Owner: 0x%08x LPID: %lu\n",
|
||||
variableType, type, errMsg, objectId, lpId);
|
||||
#endif /* FSFW_CPP_OSTREAM_ENABLED == 1 */
|
||||
#endif /* FSFW_DISABLE_PRINTOUT == 0 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user