bugfix pcdu handler command queue reading
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Jakob Meier 2022-05-02 13:50:44 +02:00
parent 2f3d60e974
commit 5f6a8fa37d

View File

@ -100,14 +100,10 @@ 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);
sif::debug << "PCDUHandler: Received message" << std::endl;
if (result == RETURN_OK) {
return;
continue;
}
}
}