comparison ater/user_cmd.c @ 27:2742dbea95f1

ater: implement play command
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 24 Jun 2024 20:31:29 +0000
parents 45411b72b6b3
children 1dda11905e85
comparison
equal deleted inserted replaced
26:237687e2be6c 27:2742dbea95f1
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 {"deact", cmd_deact},
22 {"play", cmd_play_file},
22 {"print-rx", cmd_print_rx}, 23 {"print-rx", cmd_print_rx},
23 {"record", cmd_record_start}, 24 {"record", cmd_record_start},
24 {"record-stop", cmd_record_stop}, 25 {"record-stop", cmd_record_stop},
25 /* table search terminator */ 26 /* table search terminator */
26 {NULL, NULL} 27 {NULL, NULL}