diff lcdtest/dispatch.c @ 14:5a602e512b12

lcdtest: read ops split into command issuance and FTDI read
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 07 Apr 2018 01:19:14 +0000
parents 238a77db4134
children 1e94c7d4af03
line wrap: on
line diff
--- a/lcdtest/dispatch.c	Fri Apr 06 06:43:02 2018 +0000
+++ b/lcdtest/dispatch.c	Sat Apr 07 01:19:14 2018 +0000
@@ -4,6 +4,7 @@
 #include <strings.h>
 #include <stdlib.h>
 
+extern int cmd_fr();
 extern int cmd_rd();
 extern int cmd_ri();
 extern int cmd_wd();
@@ -24,6 +25,7 @@
 	int (*func)();
 } cmdtab[] = {
 	{"exit", 0, 0, cmd_exit},
+	{"fr", 1, 1, cmd_fr},
 	{"quit", 0, 0, cmd_exit},
 	{"rd", 0, 0, cmd_rd},
 	{"reset", 0, 0, reset_pulse},