More buffer time #433

Merged
muellerr merged 5 commits from bugfix_imtq_timing into develop 2023-03-06 11:33:40 +01:00
Showing only changes of commit 193ed01bce - Show all commits

View File

@ -370,7 +370,7 @@ ReturnValue_t ImtqHandler::interpretDeviceReply(DeviceCommandId_t id, const uint
} }
if (not replies.wasGetRawMgmMeasurementRead() and not firstReplyCycle) { if (not replies.wasGetRawMgmMeasurementRead() and not firstReplyCycle) {
sif::warning << "IMTQ: Possible timing issue, system state was not read" << std::endl; sif::warning << "IMTQ: Possible timing issue, raw MGM measurement was not read" << std::endl;
} }
uint8_t* rawMgmMeasurement = replies.getRawMgmMeasurement(); uint8_t* rawMgmMeasurement = replies.getRawMgmMeasurement();
result = parseStatusByte(imtq::CC::GET_RAW_MTM_MEASUREMENT, rawMgmMeasurement); result = parseStatusByte(imtq::CC::GET_RAW_MTM_MEASUREMENT, rawMgmMeasurement);
@ -381,7 +381,8 @@ ReturnValue_t ImtqHandler::interpretDeviceReply(DeviceCommandId_t id, const uint
} }
if (not replies.wasCalibMgmMeasurementRead() and not firstReplyCycle) { if (not replies.wasCalibMgmMeasurementRead() and not firstReplyCycle) {
sif::warning << "IMTQ: Possible timing issue, system state was not read" << std::endl; sif::warning << "IMTQ: Possible timing issue, calib MGM measurement was not read"
<< std::endl;
} }
uint8_t* calibMgmMeasurement = replies.getCalibMgmMeasurement(); uint8_t* calibMgmMeasurement = replies.getCalibMgmMeasurement();
result = parseStatusByte(imtq::CC::GET_CAL_MTM_MEASUREMENT, calibMgmMeasurement); result = parseStatusByte(imtq::CC::GET_CAL_MTM_MEASUREMENT, calibMgmMeasurement);