core: move reboot.c to a general power.c file

feature: halt added
This commit is contained in:
2024-09-11 17:43:18 +02:00
parent e7a8d39ad7
commit 963bf46b62
3 changed files with 21 additions and 2 deletions

View File

@ -43,7 +43,17 @@ static const char *POOP =
" \\_ \\___\"\"\"/\"\" / `\"\"/\"\" "
"\n";
typedef enum { HELP, REBOOT, POWEROFF, ECHO, COLOR, MERDELLA, ERROR } CMD_TOK;
typedef enum {
HELP,
REBOOT,
POWEROFF,
HALT,
ECHO,
COLOR,
MERDELLA,
ERROR
} CMD_TOK;
void reboot(void);
void halt(void);
void shell_init(void);