develop/ktcc: Post-SVN tidy
Some checks failed
Build system / Check kernel codestyle (pull_request) Successful in 25s
Build system / Build (pull_request) Failing after 27s

- Move source code from `trunk` into program root directory.
- Update build files.
This commit is contained in:
2025-05-23 17:49:05 +01:00
parent 46bcaca0b0
commit 42e77931bf
688 changed files with 17 additions and 17 deletions

View File

@@ -0,0 +1,10 @@
#include <shell_api.h>
#include <string.h>
void shell_gets(char *str, int n)
{
__shell_init();
*__shell_shm = SHELL_GETS;
__SHELL_WAIT();
strncpy(str, __shell_shm+1, n);
}