FreeCalypso > hg > fc-pcm-if
diff sw/mcsi-rxtx/usercmd.c @ 10:c1d9b5d128f5
fc-mcsi-rxtx: implement print-rx command
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 28 Oct 2024 06:11:23 +0000 |
parents | 8a386263dd51 |
children | 23555b9a1c20 |
line wrap: on
line diff
--- a/sw/mcsi-rxtx/usercmd.c Mon Oct 28 06:02:04 2024 +0000 +++ b/sw/mcsi-rxtx/usercmd.c Mon Oct 28 06:11:23 2024 +0000 @@ -11,6 +11,8 @@ extern char usercmd[]; +extern void cmd_print_rx(); + static void cmd_exit() { @@ -25,6 +27,7 @@ void (*func)(); } cmdtab[] = { {"exit", 0, 0, cmd_exit}, + {"print-rx", 0, 0, cmd_print_rx}, {"quit", 0, 0, cmd_exit}, {0, 0, 0, 0} };