Merge pull request 'Bugfix Device Handler Base' (#339) from mueller/devicehandler-bugfix into development

Reviewed-on: fsfw/fsfw#339
This commit is contained in:
Steffen Gaisser 2021-01-12 14:45:11 +01:00
commit f81d3e81dc

View File

@ -682,9 +682,11 @@ void DeviceHandlerBase::doGetRead() {
replyRawData(receivedData, receivedDataLen, requestedRawTraffic);
}
if (mode == MODE_RAW and defaultRawReceiver != MessageQueueIF::NO_QUEUE) {
if (mode == MODE_RAW) {
if (defaultRawReceiver != MessageQueueIF::NO_QUEUE) {
replyRawReplyIfnotWiretapped(receivedData, receivedDataLen);
}
}
else {
parseReply(receivedData, receivedDataLen);
}