files
kolibrios-gitea/programs/develop/ktcc/lib/libshell/shell_putc.c
Andrew 58f45efc24 develop/ktcc: Post-SVN tidy
- Move source code from `trunk` into program root directory.
- Update build files and include paths.
- These changes also update the CI build files in `.gitea/workflows/`.
- Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden.
2025-05-24 12:12:13 +01:00

9 lines
148 B
C

#include <shell_api.h>
void shell_putc(char c)
{
__shell_init();
*__shell_shm = SHELL_PUTC;
*(__shell_shm+1) = c;
__SHELL_WAIT();
}