diff rvinterf/asyncshell/oneshot.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 10f4062e049b
children
line wrap: on
line diff
--- a/rvinterf/asyncshell/oneshot.c	Mon Oct 19 18:00:37 2020 +0000
+++ b/rvinterf/asyncshell/oneshot.c	Thu Oct 22 05:39:47 2020 +0000
@@ -9,6 +9,7 @@
 #include "limits.h"
 #include "exitcodes.h"
 
+extern int cmd_batt_oneshot();
 extern int cmd_key_oneshot();
 extern int cmd_keydown_oneshot();
 extern int cmd_keyup_oneshot();
@@ -26,6 +27,7 @@
 	int maxargs;
 	int (*func)();
 } cmdtab[] = {
+	{"batt", 2, 2, cmd_batt_oneshot},
 	{"key", 1, 1, cmd_key_oneshot},
 	{"keydown", 1, 1, cmd_keydown_oneshot},
 	{"keyup", 1, 1, cmd_keyup_oneshot},