diff rvinterf/asyncshell/usercmd.c @ 748:b55a81ce7497

fc-shell: implement MMI_BATTERY_IND sending
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 22 Oct 2020 05:39:47 +0000
parents e13f60d4f8dd
children
line wrap: on
line diff
--- a/rvinterf/asyncshell/usercmd.c	Mon Oct 19 18:00:37 2020 +0000
+++ b/rvinterf/asyncshell/usercmd.c	Thu Oct 22 05:39:47 2020 +0000
@@ -11,6 +11,7 @@
 
 extern char usercmd[];
 
+extern void cmd_batt_interactive();
 extern void cmd_disable();
 extern void cmd_enable();
 extern void cmd_help();
@@ -37,6 +38,7 @@
 	char *cmd;
 	void (*func)();
 } cmdtab[] = {
+	{"batt", cmd_batt_interactive},
 	{"disable", cmd_disable},
 	{"enable", cmd_enable},
 	{"exit", cmd_exit},