develop/ktcc: Post-SVN tidy
- Move source code from `trunk` into program root directory. - Update build files.
This commit is contained in:
13
programs/develop/ktcc/lib/libshell/shell_ping.c
Normal file
13
programs/develop/ktcc/lib/libshell/shell_ping.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <shell_api.h>
|
||||
#include <sys/ksys.h>
|
||||
|
||||
int shell_ping()
|
||||
{
|
||||
__shell_init();
|
||||
*__shell_shm = SHELL_PING;
|
||||
_ksys_delay(10);
|
||||
if(*__shell_shm==SHELL_OK){
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user