reset the timer
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2023-07-18 18:26:57 +02:00
parent b2d2c38c58
commit 910addc27a
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -15,6 +15,8 @@ RadiationSensorHandler::RadiationSensorHandler(object_id_t objectId, object_id_t
if (comCookie == nullptr) {
sif::error << "RadiationSensorHandler: Invalid com cookie" << std::endl;
}
// Time out immediately so we get an immediate measurement at device startup.
measurementCd.timeOut();
}
RadiationSensorHandler::~RadiationSensorHandler() {}
@ -160,6 +162,7 @@ ReturnValue_t RadiationSensorHandler::scanForReply(const uint8_t *start, size_t
<< std::endl;
#endif
}
measurementCd.resetTimer();
break;
}
case radSens::ENABLE_DEBUG_OUTPUT: