This commit is contained in:
2021-05-24 01:20:44 +02:00
parent cca4e49bed
commit bb75a74011
11 changed files with 103 additions and 46 deletions

View File

@ -6,6 +6,12 @@ GyroADIS16507Handler::GyroADIS16507Handler(object_id_t objectId,
}
void GyroADIS16507Handler::doStartUp() {
if(internalState == InternalState::STARTUP) {
if(commandExecuted) {
commandExecuted = false;
internalState = InternalState::IDLE;
}
}
}
void GyroADIS16507Handler::doShutDown() {
@ -39,3 +45,7 @@ ReturnValue_t GyroADIS16507Handler::interpretDeviceReply(DeviceCommandId_t id,
void GyroADIS16507Handler::setNormalDatapoolEntriesInvalid() {
}
uint32_t GyroADIS16507Handler::getTransitionDelayMs(Mode_t modeFrom, Mode_t modeTo) {
return 5000;
}