removed CommandMessageBase, changed interfaces

This commit is contained in:
muellerr committed 2020-06-24 00:24:15 +02:00
1 parent 905c1a92e3
commit 3bf29a7315
34 files changed
+348 -382

No files matched your search

+1 -2
View File
@@ -13,8 +13,7 @@ HealthDevice::~HealthDevice() {
}
ReturnValue_t HealthDevice::performOperation(uint8_t opCode) {
MessageQueueMessage message;
CommandMessage command(&message);
CommandMessage command;
ReturnValue_t result = commandQueue->receiveMessage(&command);
if (result == HasReturnvaluesIF::RETURN_OK) {
healthHelper.handleHealthCommand(&command);