small printout tweak
This commit is contained in:
parent
91f69aa34f
commit
f3cc664d4f
@ -1494,10 +1494,9 @@ void DeviceHandlerBase::printWarningOrError(sif::OutputTypes errorType,
|
|||||||
|
|
||||||
if(errorType == sif::OutputTypes::OUT_WARNING) {
|
if(errorType == sif::OutputTypes::OUT_WARNING) {
|
||||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||||
sif::warning << "DeviceHandlerBase::" << functionName << ": Object ID "
|
sif::warning << "DeviceHandlerBase::" << functionName << ": Object ID 0x" << std::hex <<
|
||||||
<< std::hex << std::setw(8) << std::setfill('0')
|
std::setw(8) << std::setfill('0') << this->getObjectId() << " | " << errorPrint <<
|
||||||
<< this->getObjectId() << " | " << errorPrint << std::dec
|
std::dec << std::setfill(' ') << std::endl;
|
||||||
<< std::setfill(' ') << std::endl;
|
|
||||||
#else
|
#else
|
||||||
sif::printWarning("DeviceHandlerBase::%s: Object ID 0x%08x | %s\n",
|
sif::printWarning("DeviceHandlerBase::%s: Object ID 0x%08x | %s\n",
|
||||||
this->getObjectId(), errorPrint);
|
this->getObjectId(), errorPrint);
|
||||||
|
Loading…
Reference in New Issue
Block a user