comparison ater/user_cmd.c @ 24:f49e57b0d1a2

ater: implement activ command
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 24 Jun 2024 18:48:36 +0000
parents 98ae717734d6
children 45411b72b6b3
comparison
equal deleted inserted replaced
23:0d70444b5070 24:f49e57b0d1a2
15 15
16 static struct cmdtab { 16 static struct cmdtab {
17 char *cmd; 17 char *cmd;
18 void (*func)(int argc, char **argv); 18 void (*func)(int argc, char **argv);
19 } cmdtab[] = { 19 } cmdtab[] = {
20 {"activ", cmd_activate},
20 {"print-rx", cmd_print_rx}, 21 {"print-rx", cmd_print_rx},
21 {"record", cmd_record_start}, 22 {"record", cmd_record_start},
22 {"record-stop", cmd_record_stop}, 23 {"record-stop", cmd_record_stop},
23 /* table search terminator */ 24 /* table search terminator */
24 {NULL, NULL} 25 {NULL, NULL}