This commit is contained in:
firestar5683
2026-08-20 18:18:57 -05:00
parent 49f061eee4
commit 41b10d0184
2 changed files with 1 additions and 1 deletions
Binary file not shown.
+1 -1
View File
@@ -350,13 +350,13 @@ int PandaSpiHandle::spi_transfer(uint8_t endpoint, uint8_t *tx_data, uint16_t tx
SPILOG(LOGE, "SPI: failed to send header");
goto fail;
}
wait_for_spi_turnaround(nanos_since_boot());
// Wait for (N)ACK
ret = wait_for_ack(SPI_HACK, 0x11, timeout, 1);
if (ret < 0) {
goto fail;
}
wait_for_spi_turnaround(nanos_since_boot());
// Send data
if (tx_data != NULL) {