v1.16.0 #323

Merged
muellerr merged 223 commits from develop into main 2022-11-18 14:23:24 +01:00
Showing only changes of commit 7799e3477f - Show all commits

View File

@ -79,15 +79,15 @@ ReturnValue_t PdecHandler::initialize() {
} }
ReturnValue_t PdecHandler::performOperation(uint8_t operationCode) { ReturnValue_t PdecHandler::performOperation(uint8_t operationCode) {
ReturnValue_t result = returnvalue::OK;
if (OP_MODE == Modes::POLLED) { if (OP_MODE == Modes::POLLED) {
polledOperation(); return polledOperation();
} else if (OP_MODE == Modes::IRQ) { } else if (OP_MODE == Modes::IRQ) {
irqOperation(); return irqOperation();
} }
} }
ReturnValue_t PdecHandler::polledOperation() { ReturnValue_t PdecHandler::polledOperation() {
ReturnValue_t result = returnvalue::OK;
readCommandQueue(); readCommandQueue();
switch (state) { switch (state) {