diff rvinterf/asyncshell/usercmd.c @ 874:72d64c172d85

fc-shell: Rx control implemented
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 30 May 2015 07:20:50 +0000
parents 5e46679bdb6a
children dab341e172de
line wrap: on
line diff
--- a/rvinterf/asyncshell/usercmd.c	Sat May 30 06:45:21 2015 +0000
+++ b/rvinterf/asyncshell/usercmd.c	Sat May 30 07:20:50 2015 +0000
@@ -11,6 +11,9 @@
 
 extern char usercmd[];
 
+extern void cmd_disable();
+extern void cmd_enable();
+
 void
 cmd_exit()
 {
@@ -22,6 +25,8 @@
 	char *cmd;
 	void (*func)();
 } cmdtab[] = {
+	{"disable", cmd_disable},
+	{"enable", cmd_enable},
 	{"exit", cmd_exit},
 	{"quit", cmd_exit},
 	{0, 0}