- 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.
13 lines
208 B
C
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;
|
|
} |