kolibrios-fun/programs/develop/ktcc/trunk/lib/libshell/shell_ping.c

13 lines
208 B
C
Raw Normal View History

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