fix cppcheck lints
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
This commit is contained in:
parent
3c5a2568ef
commit
a75e035cc5
2
fsfw
2
fsfw
@ -1 +1 @@
|
|||||||
Subproject commit f0b8457ba2d9a34a42b10314c3cdccfd46ebf168
|
Subproject commit d256ede8c1d8e7a746d3a56d45313d2b863e0b28
|
@ -22,7 +22,7 @@ void PdecConfig::initialize() {
|
|||||||
word |= POSITIVE_WINDOW;
|
word |= POSITIVE_WINDOW;
|
||||||
configWords[0] = word;
|
configWords[0] = word;
|
||||||
word = 0;
|
word = 0;
|
||||||
word |= (NEGATIVE_WINDOW << 24);
|
word |= (static_cast<uint32_t>(NEGATIVE_WINDOW) << 24);
|
||||||
word |= (HIGH_AU_MAP_ID << 16);
|
word |= (HIGH_AU_MAP_ID << 16);
|
||||||
word |= (ENABLE_DERANDOMIZER << 8);
|
word |= (ENABLE_DERANDOMIZER << 8);
|
||||||
configWords[1] = word;
|
configWords[1] = word;
|
||||||
|
@ -99,6 +99,7 @@ ReturnValue_t PdecHandler::performOperation(uint8_t operationCode) {
|
|||||||
} else if (OP_MODE == Modes::IRQ) {
|
} else if (OP_MODE == Modes::IRQ) {
|
||||||
return irqOperation();
|
return irqOperation();
|
||||||
}
|
}
|
||||||
|
return returnvalue::FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t PdecHandler::polledOperation() {
|
ReturnValue_t PdecHandler::polledOperation() {
|
||||||
|
@ -15,7 +15,7 @@ static constexpr uint32_t NEW_FAR_MASK = 1 << 2;
|
|||||||
static constexpr uint32_t TC_ABORT_MASK = 1 << 1;
|
static constexpr uint32_t TC_ABORT_MASK = 1 << 1;
|
||||||
static constexpr uint32_t TC_NEW_MASK = 1 << 0;
|
static constexpr uint32_t TC_NEW_MASK = 1 << 0;
|
||||||
|
|
||||||
static constexpr uint32_t FAR_STAT_MASK = 1 << 31;
|
static constexpr uint32_t FAR_STAT_MASK = 1UL << 31;
|
||||||
|
|
||||||
static const uint32_t FRAME_ANA_MASK = 0x70000000;
|
static const uint32_t FRAME_ANA_MASK = 0x70000000;
|
||||||
static const uint32_t IREASON_MASK = 0x0E000000;
|
static const uint32_t IREASON_MASK = 0x0E000000;
|
||||||
|
Loading…
Reference in New Issue
Block a user