参考代码

This commit is contained in:
LokLiang
2024-03-28 12:19:52 +08:00
commit 7b86aa3362
96 changed files with 19986 additions and 0 deletions

16
app/console.h Normal file
View 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