2024-03-28 12:19:52 +08:00
|
|
|
#ifndef __CONSOLE_H__
|
|
|
|
|
#define __CONSOLE_H__
|
|
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
#include "shell/sh.h"
|
|
|
|
|
|
|
|
|
|
typedef void (*shell_input_cb)(sh_t *sh_hdl, char c);
|
|
|
|
|
|
2025-02-13 17:17:07 +08:00
|
|
|
void shell_start(void *arg);
|
2024-03-28 12:19:52 +08:00
|
|
|
|
|
|
|
|
void shell_input_set(shell_input_cb cb);
|
|
|
|
|
void shell_input_restore(void);
|
|
|
|
|
|
|
|
|
|
bool shell_is_aobrt(void);
|
|
|
|
|
|
|
|
|
|
#endif
|