diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d963b7e..752ed3c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/linux/devices/Max31865RtdLowlevelHandler.cpp b/linux/devices/Max31865RtdLowlevelHandler.cpp index 9b24f268..6a3af90e 100644 --- a/linux/devices/Max31865RtdLowlevelHandler.cpp +++ b/linux/devices/Max31865RtdLowlevelHandler.cpp @@ -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; diff --git a/mission/devices/Max31865EiveHandler.cpp b/mission/devices/Max31865EiveHandler.cpp index adcf9a0a..7075b685 100644 --- a/mission/devices/Max31865EiveHandler.cpp +++ b/mission/devices/Max31865EiveHandler.cpp @@ -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; diff --git a/tmtc b/tmtc index 7f03dcb3..51bbeaa6 160000 --- a/tmtc +++ b/tmtc @@ -1 +1 @@ -Subproject commit 7f03dcb3a613d26462ac2571140ed6ecb91dd9f0 +Subproject commit 51bbeaa693a11bfc4d2cb342354041972dd93c1e