From 9d2c73eacbad92df2d4b405d5e5eaec24714512c Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 17 May 2023 23:28:46 -0700 Subject: [PATCH] boardd: match panda python lib ack bytes (#28225) old-commit-hash: 885e1edf966f241113ea5f7af2d2030ab24dd808 --- selfdrive/boardd/spi.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/boardd/spi.cc b/selfdrive/boardd/spi.cc index d418d2bdac..82a95f7759 100644 --- a/selfdrive/boardd/spi.cc +++ b/selfdrive/boardd/spi.cc @@ -283,7 +283,7 @@ int PandaSpiHandle::spi_transfer(uint8_t endpoint, uint8_t *tx_data, uint16_t tx } // Wait for (N)ACK - tx_buf[0] = 0x12; + tx_buf[0] = 0x11; transfer.len = 1; ret = wait_for_ack(transfer, SPI_HACK); if (ret < 0) { @@ -303,7 +303,7 @@ int PandaSpiHandle::spi_transfer(uint8_t endpoint, uint8_t *tx_data, uint16_t tx } // Wait for (N)ACK - tx_buf[0] = 0xab; + tx_buf[0] = 0x13; transfer.len = 1; ret = wait_for_ack(transfer, SPI_DACK); if (ret < 0) {