13 lines
219 B
C
13 lines
219 B
C
#include <shell_api.h>
|
|
|
|
void shell_putc(char c)
|
|
{
|
|
__shell_init();
|
|
|
|
if (__shell_is_init == __SHELL_INIT_OK)
|
|
{
|
|
*(__shell_shm + 1) = c;
|
|
*__shell_shm = SHELL_PUTC;
|
|
__SHELL_WAIT();
|
|
}
|
|
} |