dont send anything in break CD

This commit is contained in:
Robin Müller 2023-04-11 18:03:07 +02:00
parent d42b6798e0
commit 776a53b243
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -56,6 +56,9 @@ ReturnValue_t GyrAdis1650XHandler::buildNormalDeviceCommand(DeviceCommandId_t *i
ReturnValue_t GyrAdis1650XHandler::buildTransitionDeviceCommand(DeviceCommandId_t *id) {
switch (internalState) {
case (InternalState::STARTUP): {
if(breakCountdown.isBusy()) {
return NOTHING_TO_SEND;
}
*id = adis1650x::REQUEST;
return preparePeriodicRequest(acs::SimpleSensorMode::NORMAL);
}