RTD Fix #345

Merged
muellerr merged 10 commits from meier/rtd-fix into develop 2023-01-20 12:27:18 +01:00
2 changed files with 7 additions and 6 deletions
Showing only changes of commit 5670af7198 - Show all commits

View File

@ -22,6 +22,7 @@ list yields a list of all related PRs for each release.
- The ACS Controller Gyro Sets (raw and processed) and the MEKF dataset are diagnostics now. - The ACS Controller Gyro Sets (raw and processed) and the MEKF dataset are diagnostics now.
- Bumped FSFW for Service 11 improvement which includes size and CRC check for contained TC - Bumped FSFW for Service 11 improvement which includes size and CRC check for contained TC
- Syrlinks module now always included for both EM and FM - Syrlinks module now always included for both EM and FM
- RTD: Config is now written before each temperature request.
## Fixed ## Fixed

View File

@ -156,7 +156,7 @@ ReturnValue_t Max31865RtdReader::periodicReadHandling() {
bool faultBitSet = false; bool faultBitSet = false;
result = writeCfgReg(rtd->spiCookie, BASE_CFG); result = writeCfgReg(rtd->spiCookie, BASE_CFG);
if (result != returnvalue::OK) { if (result != returnvalue::OK) {
handleSpiError(rtd, result, "writeCfgReg"); handleSpiError(rtd, result, "writeCfgReg");
} }
result = readRtdVal(rtd->spiCookie, rtdVal, faultBitSet); result = readRtdVal(rtd->spiCookie, rtdVal, faultBitSet);
if (result != returnvalue::OK) { if (result != returnvalue::OK) {
@ -287,11 +287,11 @@ ReturnValue_t Max31865RtdReader::sendMessage(CookieIF* cookie, const uint8_t* se
break; break;
} }
case (EiveMax31855::RtdCommands::CFG): { case (EiveMax31855::RtdCommands::CFG): {
ReturnValue_t result = writeCfgReg(rtdCookie->spiCookie, BASE_CFG); ReturnValue_t result = writeCfgReg(rtdCookie->spiCookie, BASE_CFG);
if (result != returnvalue::OK) { if (result != returnvalue::OK) {
handleSpiError(rtdCookie, result, "writeCfgReg"); handleSpiError(rtdCookie, result, "writeCfgReg");
} }
break; break;
} }
default: { default: {
// TODO: Only implement if needed // TODO: Only implement if needed