comparison lcdtest/dispatch.c @ 20:2e4f27ea7067

lcdtest: init-st command implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 10 Apr 2018 23:55:42 +0000
parents f3671d3ad953
children 94521a02c33d
comparison
equal deleted inserted replaced
19:f3671d3ad953 20:2e4f27ea7067
5 #include <stdlib.h> 5 #include <stdlib.h>
6 6
7 extern int cmd_cd(); 7 extern int cmd_cd();
8 extern int cmd_fc(); 8 extern int cmd_fc();
9 extern int cmd_fr(); 9 extern int cmd_fr();
10 extern int cmd_init_st();
10 extern int cmd_rd(); 11 extern int cmd_rd();
11 extern int cmd_ri(); 12 extern int cmd_ri();
12 extern int cmd_show(); 13 extern int cmd_show();
13 extern int cmd_wd(); 14 extern int cmd_wd();
14 extern int cmd_wi(); 15 extern int cmd_wi();
29 } cmdtab[] = { 30 } cmdtab[] = {
30 {"cd", 1, 1, cmd_cd}, 31 {"cd", 1, 1, cmd_cd},
31 {"exit", 0, 0, cmd_exit}, 32 {"exit", 0, 0, cmd_exit},
32 {"fc", 1, 16, cmd_fc}, 33 {"fc", 1, 16, cmd_fc},
33 {"fr", 1, 1, cmd_fr}, 34 {"fr", 1, 1, cmd_fr},
35 {"init-st", 0, 0, cmd_init_st},
34 {"quit", 0, 0, cmd_exit}, 36 {"quit", 0, 0, cmd_exit},
35 {"rd", 0, 0, cmd_rd}, 37 {"rd", 0, 0, cmd_rd},
36 {"reset", 0, 0, reset_pulse}, 38 {"reset", 0, 0, reset_pulse},
37 {"ri", 0, 0, cmd_ri}, 39 {"ri", 0, 0, cmd_ri},
38 {"show", 1, 1, cmd_show}, 40 {"show", 1, 1, cmd_show},