mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-23 21:57:33 -04:00
[demo_sdi] remove RX clear command
This commit is contained in:
parent
a7cc7f7b7d
commit
b68e8b6f63
1 changed files with 1 additions and 5 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue