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:
parent
09600c82c9
commit
d21c18d1f0
4 changed files with 142 additions and 0 deletions
6
main.c
6
main.c
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue