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 1b19477 commit 33845c2Copy full SHA for 33845c2
main.c
@@ -235,8 +235,7 @@ static void command_loop(void)
235
for(uint32_t i = 0; i < rlen; i += chunk) {
236
chunk = MIN(rlen - i, sizeof(buf));
237
spi_read_blocking(SPI_IF, 0, buf, chunk);
238
- fwrite(buf, 1, chunk, stdout);
239
- fflush(stdout);
+ sendbytes_blocking(rx_buffer, rlen);
240
}
241
cs_deselect(SPI_CS);
242
break;
0 commit comments