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 33845c2 commit 70afb80Copy full SHA for 70afb80
main.c
@@ -235,6 +235,8 @@ 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
+ // Send ACK followed by received data
239
+ sendbyte_blocking(S_ACK);
240
sendbytes_blocking(rx_buffer, rlen);
241
}
242
cs_deselect(SPI_CS);
0 commit comments