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 3481a91 commit 6ca66eeCopy full SHA for 6ca66ee
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_IF, buf, chunk);
+ spi_read_blocking(SPI_IF, buf, chunk);
238
fwrite(buf, 1, chunk, stdout);
239
fflush(stdout);
240
}
0 commit comments