initial take at LCD API

Nothing is correct at the moment, but basic commands are integrated
into the shell, which will simplifying merging later on for files
that are shared-edit.
This commit is contained in:
bunnie 2014-09-15 10:15:25 +00:00
parent 09600c82c9
commit d21c18d1f0
4 changed files with 142 additions and 0 deletions

6
main.c
View file

@ -341,6 +341,7 @@ extern int cmd_swi(int argc, char **argv);
extern int cmd_reboot(int argc, char **argv);
extern int cmd_led(int argc, char **argv);
extern int cmd_bl(int argc, char **argv);
extern int cmd_lcd(int argc, char **argv);
static const struct {
int (*func)(int argc, char **argv);
@ -402,6 +403,11 @@ static const struct {
.name = "bl",
.help = "Set the LCD backlight brightness",
},
{
.func = cmd_lcd,
.name = "lcd",
.help = "Manipulate the LCD",
},
};
int cmd_help(int argc, char **argv)