diff --git a/mission/devices/PCDUHandler.cpp b/mission/devices/PCDUHandler.cpp index 10d12cf8..8e9f1918 100644 --- a/mission/devices/PCDUHandler.cpp +++ b/mission/devices/PCDUHandler.cpp @@ -100,14 +100,9 @@ void PCDUHandler::readCommandQueue() { for (result = commandQueue->receiveMessage(&command); result == RETURN_OK; result = commandQueue->receiveMessage(&command)) { - result = commandQueue->receiveMessage(&command); - if (result != RETURN_OK) { - return; - } - result = poolManager.handleHousekeepingMessage(&command); if (result == RETURN_OK) { - return; + continue; } } }