From 1f2c410a5fa869bf4d651363c91607f06993872e Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 3 Nov 2022 10:40:59 +0100 Subject: [PATCH] print correction --- linux/ipcore/PdecHandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linux/ipcore/PdecHandler.cpp b/linux/ipcore/PdecHandler.cpp index 8f5be22d..c738ce52 100644 --- a/linux/ipcore/PdecHandler.cpp +++ b/linux/ipcore/PdecHandler.cpp @@ -257,9 +257,9 @@ void PdecHandler::writePdecConfigDuringReset(PdecConfig& pdecConfig) { ReturnValue_t PdecHandler::resetFarStatFlag() { uint32_t pdecFar = readFar(); - if ((pdecFar & FAR_STAT_MASK) != FAR_STAT_MASK) { - sif::warning << "PdecHandler::resetFarStatFlag: FAR register stat bit is not set." - << " Read value: 0x" << std::hex << static_cast(pdecFar) + if ((pdecFar & FAR_STAT_MASK) != 0) { + sif::warning << "PdecHandler::resetFarStatFlag: FAR register stat bit is not 0." + << " Read value for FAR: 0x" << std::hex << static_cast(pdecFar) << std::endl; CURRENT_FAR = pdecFar; return returnvalue::FAILED;