another small fix
All checks were successful
EIVE/eive-obsw/pipeline/pr-v3.0.0-dev This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-v3.0.0-dev This commit looks good
This commit is contained in:
parent
f4c9a4bda2
commit
a110bf32aa
@ -410,7 +410,7 @@ ReturnValue_t AcsBoardPolling::writeAdisReg(SpiCookie& cookie) {
|
|||||||
spi_ioc_transfer* transferStruct = cookie.getTransferStructHandle();
|
spi_ioc_transfer* transferStruct = cookie.getTransferStructHandle();
|
||||||
uint64_t origTx = transferStruct->tx_buf;
|
uint64_t origTx = transferStruct->tx_buf;
|
||||||
uint64_t origRx = transferStruct->rx_buf;
|
uint64_t origRx = transferStruct->rx_buf;
|
||||||
for (idx = 0; idx < 4; idx++) {
|
for (idx = 0; idx < 4; idx += 2) {
|
||||||
result = mutex->lockMutex(timeoutType, timeoutMs);
|
result = mutex->lockMutex(timeoutType, timeoutMs);
|
||||||
if (result != returnvalue::OK) {
|
if (result != returnvalue::OK) {
|
||||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||||
@ -439,7 +439,6 @@ ReturnValue_t AcsBoardPolling::writeAdisReg(SpiCookie& cookie) {
|
|||||||
}
|
}
|
||||||
mutex->unlockMutex();
|
mutex->unlockMutex();
|
||||||
|
|
||||||
idx += 2;
|
|
||||||
transferStruct->tx_buf += 2;
|
transferStruct->tx_buf += 2;
|
||||||
transferStruct->rx_buf += 2;
|
transferStruct->rx_buf += 2;
|
||||||
if (idx < 4) {
|
if (idx < 4) {
|
||||||
|
Loading…
Reference in New Issue
Block a user