removed old code

This commit is contained in:
Robin Müller 2020-07-10 03:06:18 +02:00
parent f3739fd213
commit 3551a767a7

View File

@ -348,7 +348,7 @@ void DeviceHandlerBase::doStateMachine() {
if(powerSwitcher == nullptr) {
setMode(MODE_OFF);
return;
break;
}
if (currentUptime - timeoutStart >= powerSwitcher->getSwitchDelayMs()) {
@ -832,21 +832,6 @@ MessageQueueId_t DeviceHandlerBase::getCommandQueue() const {
return commandQueue->getId();
}
//ReturnValue_t DeviceHandlerBase::switchCookieChannel(object_id_t newChannelId) {
// DeviceCommunicationIF *newCommunication = objectManager->get<
// DeviceCommunicationIF>(newChannelId);
//
// if (newCommunication != NULL) {
// ReturnValue_t result = newCommunication->reOpen(cookie, ioBoardAddress,
// maxDeviceReplyLen);
// if (result != RETURN_OK) {
// return result;
// }
// return RETURN_OK;
// }
// return RETURN_FAILED;
//}
void DeviceHandlerBase::buildRawDeviceCommand(CommandMessage* commandMessage) {
storedRawData = DeviceHandlerMessage::getStoreAddress(commandMessage);
ReturnValue_t result = getStorageData(storedRawData, &rawPacket,