This commit is contained in:
parent
4958fa73d1
commit
cec9ef6c5d
@ -17,6 +17,13 @@ change warranting a new major release:
|
||||
|
||||
# [unreleased]
|
||||
|
||||
# [v1.27.1] 2023-02-13
|
||||
|
||||
## Fixed
|
||||
|
||||
- Fix for SPI ComIF: Set transfer size to 0 for failed transfers
|
||||
- Fix shadowing issue with locks in MAX31865 low level handler
|
||||
|
||||
# [v1.27.0] 2023-02-13
|
||||
|
||||
eive-tmtc: v2.12.5
|
||||
|
2
fsfw
2
fsfw
@ -1 +1 @@
|
||||
Subproject commit dac2d210b597adfaf45bd5ae6a4c027599927601
|
||||
Subproject commit f0b8457ba2d9a34a42b10314c3cdccfd46ebf168
|
@ -70,8 +70,8 @@ bool Max31865RtdReader::periodicInitHandling() {
|
||||
return false;
|
||||
}
|
||||
if ((rtd->on or rtd->db.active) and not rtd->db.configured and rtd->cd.hasTimedOut()) {
|
||||
ManualCsLockWrapper mg(csLock, gpioIF, rtd->spiCookie, csTimeoutType, csTimeoutMs);
|
||||
if (mg.lockResult != returnvalue::OK or mg.gpioResult != returnvalue::OK) {
|
||||
ManualCsLockWrapper mg1(csLock, gpioIF, rtd->spiCookie, csTimeoutType, csTimeoutMs);
|
||||
if (mg1.lockResult != returnvalue::OK or mg1.gpioResult != returnvalue::OK) {
|
||||
sif::error << "Max31865RtdReader::periodicInitHandling: Manual CS lock failed" << std::endl;
|
||||
continue;
|
||||
}
|
||||
@ -153,8 +153,8 @@ ReturnValue_t Max31865RtdReader::periodicReadHandling() {
|
||||
return returnvalue::FAILED;
|
||||
}
|
||||
if (rtdIsActive(rtd->idx)) {
|
||||
ManualCsLockWrapper mg(csLock, gpioIF, rtd->spiCookie, csTimeoutType, csTimeoutMs);
|
||||
if (mg.lockResult != returnvalue::OK or mg.gpioResult != returnvalue::OK) {
|
||||
ManualCsLockWrapper mg1(csLock, gpioIF, rtd->spiCookie, csTimeoutType, csTimeoutMs);
|
||||
if (mg1.lockResult != returnvalue::OK or mg1.gpioResult != returnvalue::OK) {
|
||||
sif::error << "Max31865RtdReader::periodicInitHandling: Manual CS lock failed" << std::endl;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user