now compiling
This commit is contained in:
commit
de433e06a1
@ -332,3 +332,7 @@ ReturnValue_t GomspaceDeviceHandler::generateResetWatchdogCmd(){
|
||||
rememberCommandId = GNDWDT_RESET;
|
||||
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,
|
||||
const uint8_t *packet) override;
|
||||
void setNormalDatapoolEntriesInvalid() override;
|
||||
uint32_t getTransitionDelayMs(Mode_t modeFrom, Mode_t modeTo) override;
|
||||
|
||||
private:
|
||||
|
||||
|
@ -154,7 +154,7 @@ ReturnValue_t MGMHandlerLIS3MDL::buildCommandFromCommand(
|
||||
return setOperatingMode(commandData, commandDataLen);
|
||||
}
|
||||
default:
|
||||
lastSentCommand = DeviceHandlerIF::NO_COMMAND;
|
||||
lastSentCommand = DeviceHandlerIF::NO_COMMAND_ID;
|
||||
return DeviceHandlerIF::COMMAND_NOT_IMPLEMENTED;
|
||||
}
|
||||
return HasReturnvaluesIF::RETURN_FAILED;
|
||||
@ -283,7 +283,7 @@ ReturnValue_t MGMHandlerLIS3MDL::interpretDeviceReply(DeviceCommandId_t id,
|
||||
}
|
||||
|
||||
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
|
||||
* 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
|
||||
|
Loading…
Reference in New Issue
Block a user