comparison ater/user_cmd.c @ 25:45411b72b6b3

ater: implement deact command
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 24 Jun 2024 18:56:05 +0000
parents f49e57b0d1a2
children 2742dbea95f1
comparison
equal deleted inserted replaced
24:f49e57b0d1a2 25:45411b72b6b3
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 {"activ", cmd_activate},
21 {"deact", cmd_deact},
21 {"print-rx", cmd_print_rx}, 22 {"print-rx", cmd_print_rx},
22 {"record", cmd_record_start}, 23 {"record", cmd_record_start},
23 {"record-stop", cmd_record_stop}, 24 {"record-stop", cmd_record_stop},
24 /* table search terminator */ 25 /* table search terminator */
25 {NULL, NULL} 26 {NULL, NULL}