SPI update, Version bump #22
@ -4,8 +4,8 @@
|
|||||||
//! TODO: Think of a cool name for the software releases.
|
//! TODO: Think of a cool name for the software releases.
|
||||||
const char* const SW_NAME = "eive";
|
const char* const SW_NAME = "eive";
|
||||||
|
|
||||||
#define SW_VERSION 0
|
#define SW_VERSION 1
|
||||||
#define SW_SUBVERSION 2
|
#define SW_SUBVERSION 0
|
||||||
#define SW_SUBSUBVERSION 0
|
#define SW_SUBSUBVERSION 0
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#include <fsfw/datapool/PoolReadHelper.h>
|
||||||
#include "MGMHandlerLIS3MDL.h"
|
#include "MGMHandlerLIS3MDL.h"
|
||||||
|
|
||||||
|
|
||||||
@ -257,13 +258,12 @@ ReturnValue_t MGMHandlerLIS3MDL::interpretDeviceReply(DeviceCommandId_t id,
|
|||||||
sif::info << "Z: " << mgmZ << " \xC2\xB5T" << std::endl;
|
sif::info << "Z: " << mgmZ << " \xC2\xB5T" << std::endl;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
ReturnValue_t result = dataset.read();
|
PoolReadHelper readHelper(&dataset);
|
||||||
if(result == HasReturnvaluesIF::RETURN_OK) {
|
if(readHelper.getReadResult() == HasReturnvaluesIF::RETURN_OK) {
|
||||||
dataset.fieldStrengthX = mgmX;
|
dataset.fieldStrengthX = mgmX;
|
||||||
dataset.fieldStrengthY = mgmY;
|
dataset.fieldStrengthY = mgmY;
|
||||||
dataset.fieldStrengthZ = mgmZ;
|
dataset.fieldStrengthZ = mgmZ;
|
||||||
dataset.setValidity(true, true);
|
dataset.setValidity(true, true);
|
||||||
dataset.commit();
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user