pdec handler now compiles
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2022-10-27 08:34:45 +02:00
parent 115c6a6a57
commit 7799e3477f
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

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