参考代码
This commit is contained in:
16
app/console.h
Normal file
16
app/console.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef __CONSOLE_H__
|
||||
#define __CONSOLE_H__
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "shell/sh.h"
|
||||
|
||||
typedef void (*shell_input_cb)(sh_t *sh_hdl, char c);
|
||||
|
||||
void shell_start();
|
||||
|
||||
void shell_input_set(shell_input_cb cb);
|
||||
void shell_input_restore(void);
|
||||
|
||||
bool shell_is_aobrt(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user