mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-05 16:26:06 +08:00
Revert "boardd: smaller spi chunk size (#28360)"
This reverts commit 77ff5bd39780dd1a665399cd6df599042ab1469c. old-commit-hash: 87364b6a812a5781d7e9385078dd2d6f7109c9d4
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user