rtd bugfixes
This commit is contained in:
2
fsfw
2
fsfw
Submodule fsfw updated: f35b0ffbbd...4b128d2435
@ -112,9 +112,9 @@ bool Max31865RtdReader::periodicInitHandling() {
|
|||||||
}
|
}
|
||||||
if (rtdIsActive(rtd->idx)) {
|
if (rtdIsActive(rtd->idx)) {
|
||||||
#if OBSW_RTD_AUTO_MODE == 0
|
#if OBSW_RTD_AUTO_MODE == 0
|
||||||
someRtdUsable = true;
|
|
||||||
result = writeBiasSel(Bias::ON, rtd->spiCookie, BASE_CFG);
|
result = writeBiasSel(Bias::ON, rtd->spiCookie, BASE_CFG);
|
||||||
#endif
|
#endif
|
||||||
|
someRtdUsable = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return someRtdUsable;
|
return someRtdUsable;
|
||||||
|
@ -123,6 +123,9 @@ void Max31865EiveHandler::fillCommandAndReplyMap() {
|
|||||||
|
|
||||||
ReturnValue_t Max31865EiveHandler::scanForReply(const uint8_t* start, size_t remainingSize,
|
ReturnValue_t Max31865EiveHandler::scanForReply(const uint8_t* start, size_t remainingSize,
|
||||||
DeviceCommandId_t* foundId, size_t* foundLen) {
|
DeviceCommandId_t* foundId, size_t* foundLen) {
|
||||||
|
if(mode == _MODE_POWER_ON or mode == _MODE_WAIT_ON) {
|
||||||
|
return IGNORE_FULL_PACKET;
|
||||||
|
}
|
||||||
if (remainingSize != structLen) {
|
if (remainingSize != structLen) {
|
||||||
sif::error << "Invalid reply from RTD reader detected, reply size " << remainingSize
|
sif::error << "Invalid reply from RTD reader detected, reply size " << remainingSize
|
||||||
<< " not equal to exchange struct size " << structLen << std::endl;
|
<< " not equal to exchange struct size " << structLen << std::endl;
|
||||||
|
2
tmtc
2
tmtc
Submodule tmtc updated: 648e0b7814...7e36b387fe
Reference in New Issue
Block a user