diff lcdtest/dispatch.c @ 13:238a77db4134

lcdtest: read operations implemented, but don't work
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 06 Apr 2018 06:43:02 +0000
parents 5eaf832d57d0
children 5a602e512b12
line wrap: on
line diff
--- a/lcdtest/dispatch.c	Fri Apr 06 06:15:11 2018 +0000
+++ b/lcdtest/dispatch.c	Fri Apr 06 06:43:02 2018 +0000
@@ -4,6 +4,8 @@
 #include <strings.h>
 #include <stdlib.h>
 
+extern int cmd_rd();
+extern int cmd_ri();
 extern int cmd_wd();
 extern int cmd_wi();
 extern int cmd_wr();
@@ -23,7 +25,9 @@
 } cmdtab[] = {
 	{"exit", 0, 0, cmd_exit},
 	{"quit", 0, 0, cmd_exit},
+	{"rd", 0, 0, cmd_rd},
 	{"reset", 0, 0, reset_pulse},
+	{"ri", 0, 0, cmd_ri},
 	{"wd", 1, 1, cmd_wd},
 	{"wi", 1, 1, cmd_wi},
 	{"wr", 2, 2, cmd_wr},