fix: compilation warning for maybe unused variables
feature: shell - autocomplete and help menu improved
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
#define PROMPT "> "
|
||||
|
||||
static const char *POOP =
|
||||
[[__maybe_unused__]] static const char *POOP =
|
||||
" / ____/ / _ \\\n"
|
||||
" _/ ___/_ / / \\___ \\_\n"
|
||||
" / _/'-, `---._ / / \\_ \\\n"
|
||||
@ -43,22 +43,9 @@ static const char *POOP =
|
||||
" \\_ \\___\"\"\"/\"\" / `\"\"/\"\" "
|
||||
"\n";
|
||||
|
||||
typedef enum {
|
||||
HELP,
|
||||
REBOOT,
|
||||
POWEROFF,
|
||||
HALT,
|
||||
STACK,
|
||||
CLEAR,
|
||||
ECHO,
|
||||
COLOR,
|
||||
MERDELLA,
|
||||
DATE,
|
||||
ERROR
|
||||
} CMD_TOK;
|
||||
|
||||
void shell_init(void);
|
||||
void reboot(void);
|
||||
void halt(void);
|
||||
void print_stack(void);
|
||||
void date(void);
|
||||
void merdella(void);
|
||||
|
Reference in New Issue
Block a user