run auto formatter
Some checks are pending
EIVE/eive-obsw/pipeline/head Build queued...
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Jakob Meier 2023-08-19 06:37:39 +02:00
parent 6febf6242a
commit ddbf4a5ff0

View File

@ -592,14 +592,12 @@ void PdecHandler::checkConfig() {
if (result != returnvalue::OK) { if (result != returnvalue::OK) {
// This should normally never happen during runtime. So here is just // This should normally never happen during runtime. So here is just
// output a warning // output a warning
sif::warning << "PdecHandler::checkConfig: Failed to create second word" sif::warning << "PdecHandler::checkConfig: Failed to create second word" << std::endl;
<< std::endl;
return; return;
} }
uint32_t readbackFirstWord = pdecConfig.readbackFirstWord(); uint32_t readbackFirstWord = pdecConfig.readbackFirstWord();
uint32_t readbackSecondWord = pdecConfig.readbackSecondWord(); uint32_t readbackSecondWord = pdecConfig.readbackSecondWord();
if (firstWord != readbackFirstWord or if (firstWord != readbackFirstWord or secondWord != readbackSecondWord) {
secondWord != readbackSecondWord) {
triggerEvent(PDEC_CONFIG_CORRUPTED, readbackFirstWord, readbackSecondWord); triggerEvent(PDEC_CONFIG_CORRUPTED, readbackFirstWord, readbackSecondWord);
} }
} }