rtd bugfixes #258

Merged
meierj merged 4 commits from mueller/rtd-bugfixes into develop 2022-05-23 19:36:14 +02:00
5 changed files with 8 additions and 3 deletions

View File

@ -14,6 +14,8 @@ list yields a list of all related PRs for each release.
## Added
- Commands for individual RTD devices
PR: https://egit.irs.uni-stuttgart.de/eive/eive-tmtc/pulls/84
- `RwAssembly` added to system components. Assembly works in principle,
issues making 4 consecutives RWs communicate at once..
PR: https://egit.irs.uni-stuttgart.de/eive/eive-obsw/pulls/224

2
fsfw

Submodule fsfw updated: f35b0ffbbd...4b128d2435

View File

@ -112,9 +112,9 @@ bool Max31865RtdReader::periodicInitHandling() {
}
if (rtdIsActive(rtd->idx)) {
#if OBSW_RTD_AUTO_MODE == 0
someRtdUsable = true;
result = writeBiasSel(Bias::ON, rtd->spiCookie, BASE_CFG);
#endif
someRtdUsable = true;
}
}
return someRtdUsable;

View File

@ -123,6 +123,9 @@ void Max31865EiveHandler::fillCommandAndReplyMap() {
ReturnValue_t Max31865EiveHandler::scanForReply(const uint8_t* start, size_t remainingSize,
DeviceCommandId_t* foundId, size_t* foundLen) {
if(mode == _MODE_POWER_ON or mode == _MODE_WAIT_ON) {
return IGNORE_FULL_PACKET;
}
if (remainingSize != structLen) {
sif::error << "Invalid reply from RTD reader detected, reply size " << remainingSize
<< " not equal to exchange struct size " << structLen << std::endl;

2
tmtc

Submodule tmtc updated: 15e0861c4d...9332fb8690