This commit is contained in:
Robin Müller 2021-01-14 12:26:12 +01:00
parent fa4e442eac
commit d66ac9e4a6

View File

@ -173,7 +173,7 @@ ReturnValue_t GyroHandler::interpretDeviceReply(DeviceCommandId_t id,
float temperature = 25.0 + temperaturOffset; float temperature = 25.0 + temperaturOffset;
PoolReadHelper readSet(&dataset); PoolReadHelper readSet(&dataset);
if(result == HasReturnvaluesIF::RETURN_OK) { if(readSet.getReadResult() == HasReturnvaluesIF::RETURN_OK) {
dataset.angVelocX = angVelocX; dataset.angVelocX = angVelocX;
dataset.angVelocY = angVelocY; dataset.angVelocY = angVelocY;
dataset.angVelocZ = angVelocZ; dataset.angVelocZ = angVelocZ;