now compiling
This commit is contained in:
commit
6bca9af809
@ -332,3 +332,7 @@ ReturnValue_t GomspaceDeviceHandler::generateResetWatchdogCmd(){
|
|||||||
rememberCommandId = GNDWDT_RESET;
|
rememberCommandId = GNDWDT_RESET;
|
||||||
return HasReturnvaluesIF::RETURN_OK;
|
return HasReturnvaluesIF::RETURN_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint32_t GomspaceDeviceHandler::getTransitionDelayMs(Mode_t modeFrom, Mode_t modeTo){
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
@ -47,6 +47,7 @@ protected:
|
|||||||
ReturnValue_t interpretDeviceReply(DeviceCommandId_t id,
|
ReturnValue_t interpretDeviceReply(DeviceCommandId_t id,
|
||||||
const uint8_t *packet) override;
|
const uint8_t *packet) override;
|
||||||
void setNormalDatapoolEntriesInvalid() override;
|
void setNormalDatapoolEntriesInvalid() override;
|
||||||
|
uint32_t getTransitionDelayMs(Mode_t modeFrom, Mode_t modeTo) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
@ -154,7 +154,7 @@ ReturnValue_t MGMHandlerLIS3MDL::buildCommandFromCommand(
|
|||||||
return setOperatingMode(commandData, commandDataLen);
|
return setOperatingMode(commandData, commandDataLen);
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
lastSentCommand = DeviceHandlerIF::NO_COMMAND;
|
lastSentCommand = DeviceHandlerIF::NO_COMMAND_ID;
|
||||||
return DeviceHandlerIF::COMMAND_NOT_IMPLEMENTED;
|
return DeviceHandlerIF::COMMAND_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
return HasReturnvaluesIF::RETURN_FAILED;
|
return HasReturnvaluesIF::RETURN_FAILED;
|
||||||
@ -283,7 +283,7 @@ ReturnValue_t MGMHandlerLIS3MDL::interpretDeviceReply(DeviceCommandId_t id,
|
|||||||
}
|
}
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
return DeviceHandlerIF::UNKNOW_DEVICE_REPLY;
|
return DeviceHandlerIF::UNKNOWN_DEVICE_REPLY;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -144,7 +144,7 @@ private:
|
|||||||
* As this is a SPI Device, we get the Answer of the last sent command in
|
* As this is a SPI Device, we get the Answer of the last sent command in
|
||||||
* the next read cycle, so we could check the command for identification.
|
* the next read cycle, so we could check the command for identification.
|
||||||
*/
|
*/
|
||||||
DeviceCommandId_t lastSentCommand = DeviceHandlerIF::NO_COMMAND;
|
DeviceCommandId_t lastSentCommand = DeviceHandlerIF::NO_COMMAND_ID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We always update all registers together, so this method updates
|
* We always update all registers together, so this method updates
|
||||||
|
Loading…
Reference in New Issue
Block a user