We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ab40e8 commit 3481a91Copy full SHA for 3481a91
main.c
@@ -234,7 +234,7 @@ static void command_loop(void)
234
cs_select(SPI_CS);
235
for(uint32_t i = 0; i < rlen; i += chunk) {
236
chunk = MIN(rlen - i, sizeof(buf));
237
- pio_spi_read8_blocking(spi, buf, chunk);
+ pio_spi_read8_blocking(SPI_IF, buf, chunk);
238
fwrite(buf, 1, chunk, stdout);
239
fflush(stdout);
240
}
0 commit comments