[demo_sdi] remove RX clear command

This commit is contained in:
stnolting 2024-07-20 12:39:56 +02:00
parent a7cc7f7b7d
commit b68e8b6f63

View file

@ -84,8 +84,7 @@ int main() {
neorv32_uart0_printf("Available commands:\n"
" help - show this text\n"
" put - write byte to TX buffer\n"
" get - read byte from RX buffer\n"
" clr - clear RX buffer\n");
" get - read byte from RX buffer\n");
}
else if (!strcmp(buffer, "put")) {
sdi_put();
@ -93,9 +92,6 @@ int main() {
else if (!strcmp(buffer, "get")) {
sdi_get();
}
else if (!strcmp(buffer, "clr")) {
neorv32_sdi_rx_clear();
}
else {
neorv32_uart0_printf("Invalid command. Type 'help' to see all commands.\n");
}