diff --git a/mission/payload/RadiationSensorHandler.cpp b/mission/payload/RadiationSensorHandler.cpp index 5151fb2b..e20d7308 100644 --- a/mission/payload/RadiationSensorHandler.cpp +++ b/mission/payload/RadiationSensorHandler.cpp @@ -162,7 +162,6 @@ ReturnValue_t RadiationSensorHandler::scanForReply(const uint8_t *start, size_t << std::endl; #endif } - measurementCd.resetTimer(); break; } case radSens::ENABLE_DEBUG_OUTPUT: @@ -183,6 +182,7 @@ ReturnValue_t RadiationSensorHandler::interpretDeviceReply(DeviceCommandId_t id, switch (id) { case radSens::READ_CONVERSIONS: { uint8_t offset = 0; + measurementCd.resetTimer(); { PoolReadGuard readSet(&dataset); uint16_t tempRaw = ((packet[offset] & 0x0f) << 8) | packet[offset + 1];