well this doesnt work
All checks were successful
EIVE/eive-obsw/pipeline/pr-v3.0.0-dev This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-v3.0.0-dev This commit looks good
This commit is contained in:
@ -26,11 +26,11 @@ void GyrAdis1650XHandler::doStartUp() {
|
||||
breakCountdown.setTimeout(adis1650x::START_UP_TIME);
|
||||
commandExecuted = true;
|
||||
}
|
||||
if (breakCountdown.hasTimedOut()) {
|
||||
updatePeriodicReply(true, adis1650x::REPLY);
|
||||
setMode(MODE_ON);
|
||||
internalState = InternalState::NONE;
|
||||
}
|
||||
}
|
||||
if (internalState == InternalState::STARTUP_DONE) {
|
||||
updatePeriodicReply(true, adis1650x::REPLY);
|
||||
setMode(MODE_ON);
|
||||
internalState = InternalState::NONE;
|
||||
}
|
||||
}
|
||||
|
||||
@ -61,6 +61,8 @@ ReturnValue_t GyrAdis1650XHandler::buildTransitionDeviceCommand(DeviceCommandId_
|
||||
return NOTHING_TO_SEND;
|
||||
}
|
||||
*id = adis1650x::REQUEST;
|
||||
adisRequest.cfg.decRateReg = adis1650x::DEC_RATE;
|
||||
internalState = InternalState::STARTUP_DONE;
|
||||
return preparePeriodicRequest(acs::SimpleSensorMode::NORMAL);
|
||||
}
|
||||
case (InternalState::SHUTDOWN): {
|
||||
|
Reference in New Issue
Block a user