important fsfw bugfix
This commit is contained in:
parent
5f59a2792f
commit
84c802baec
2
fsfw
2
fsfw
@ -1 +1 @@
|
||||
Subproject commit d8423be98cd9b17fced53627d99d2c7252fd6b3c
|
||||
Subproject commit f6c88886b830f114fd519cd4aa003a67e0bf964a
|
@ -1,4 +1,5 @@
|
||||
#include <mission/devices/GyroL3GD20Handler.h>
|
||||
#include <fsfw/datapoollocal/PoolReadHelper.h>
|
||||
|
||||
GyroHandler::GyroHandler(object_id_t objectId, object_id_t deviceCommunication,
|
||||
CookieIF *comCookie):
|
||||
@ -171,14 +172,13 @@ ReturnValue_t GyroHandler::interpretDeviceReply(DeviceCommandId_t id,
|
||||
int8_t temperaturOffset = (-1) * packet[L3GD20H::TEMPERATURE_IDX];
|
||||
float temperature = 25.0 + temperaturOffset;
|
||||
|
||||
result = dataset.read();
|
||||
PoolReadHelper readSet(&dataset);
|
||||
if(result == HasReturnvaluesIF::RETURN_OK) {
|
||||
dataset.angVelocX = angVelocX;
|
||||
dataset.angVelocY = angVelocY;
|
||||
dataset.angVelocZ = angVelocZ;
|
||||
dataset.temperature = temperature;
|
||||
dataset.setValidity(true, true);
|
||||
result = dataset.commit();
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user