Send maximum bytes in spi xfer packets

This commit is contained in:
Matthew Mets 2022-08-11 01:48:08 +02:00
parent 5bb4e23c86
commit 981de3a0ce
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ static bool pin_read(uint8_t pin) {
return (pins & (1<<pin));
}
#define MAX_BYTES_PER_TRANSFER 50
#define MAX_BYTES_PER_TRANSFER (64-9)
static void bitbang_spi(
uint8_t sck_pin,