print correction
This commit is contained in:
parent
0e3918a3a7
commit
1f2c410a5f
@ -257,9 +257,9 @@ void PdecHandler::writePdecConfigDuringReset(PdecConfig& pdecConfig) {
|
|||||||
|
|
||||||
ReturnValue_t PdecHandler::resetFarStatFlag() {
|
ReturnValue_t PdecHandler::resetFarStatFlag() {
|
||||||
uint32_t pdecFar = readFar();
|
uint32_t pdecFar = readFar();
|
||||||
if ((pdecFar & FAR_STAT_MASK) != FAR_STAT_MASK) {
|
if ((pdecFar & FAR_STAT_MASK) != 0) {
|
||||||
sif::warning << "PdecHandler::resetFarStatFlag: FAR register stat bit is not set."
|
sif::warning << "PdecHandler::resetFarStatFlag: FAR register stat bit is not 0."
|
||||||
<< " Read value: 0x" << std::hex << static_cast<unsigned int>(pdecFar)
|
<< " Read value for FAR: 0x" << std::hex << static_cast<unsigned int>(pdecFar)
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
CURRENT_FAR = pdecFar;
|
CURRENT_FAR = pdecFar;
|
||||||
return returnvalue::FAILED;
|
return returnvalue::FAILED;
|
||||||
|
Loading…
Reference in New Issue
Block a user