[hal] Fix clang-tidy warnings (#5401)

This commit is contained in:
Tyler Veness
2023-06-19 22:59:07 -07:00
committed by GitHub
parent 5fc4aee2d2
commit 2ce248f66c
5 changed files with 39 additions and 21 deletions

View File

@@ -643,8 +643,9 @@ void HAL_SetSPIAutoTransmitData(HAL_SPIPort port, const uint8_t* dataToSend,
}
// set tx data registers
for (int32_t i = 0; i < dataSize; ++i)
for (int32_t i = 0; i < dataSize; ++i) {
spiSystem->writeAutoTx(i >> 2, i & 3, dataToSend[i], status);
}
// set byte counts
tSPI::tAutoByteCount config;