From 7d3047fb9a0112022c81da0f07a15fae6ce9fab1 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Fri, 2 Jun 2023 16:40:03 -0700 Subject: [PATCH] Revert "boardd: smaller spi chunk size (#28360)" This reverts commit 77ff5bd39780dd1a665399cd6df599042ab1469c. old-commit-hash: 87364b6a812a5781d7e9385078dd2d6f7109c9d4 --- selfdrive/boardd/spi.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/boardd/spi.cc b/selfdrive/boardd/spi.cc index 924f416ead..e10fd744d5 100644 --- a/selfdrive/boardd/spi.cc +++ b/selfdrive/boardd/spi.cc @@ -163,7 +163,7 @@ int PandaSpiHandle::bulk_read(unsigned char endpoint, unsigned char* data, int l } int PandaSpiHandle::bulk_transfer(uint8_t endpoint, uint8_t *tx_data, uint16_t tx_len, uint8_t *rx_data, uint16_t rx_len, unsigned int timeout) { - const int xfer_size = 0x40 * 5; + const int xfer_size = 0x40 * 15; int ret = 0; uint16_t length = (tx_data != NULL) ? tx_len : rx_len;