kolibrios-fun/programs/develop/ktcc/trunk/lib/libshell/shell_ping.c
turbocat d38b3890d2 Added libshell for TCC
git-svn-id: svn://kolibrios.org@9207 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-26 19:56:07 +00:00

13 lines
208 B
C

#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;
}