2010-10-17 21:50:55 +02:00
|
|
|
|
|
|
|
|
|
int cmd_sleep(char param[])
|
|
|
|
|
{
|
|
|
|
|
int delay;
|
|
|
|
|
|
|
|
|
|
if (!strlen(param))
|
2013-02-17 16:22:51 +01:00
|
|
|
|
{
|
|
|
|
|
#if LANG_ENG
|
|
|
|
|
printf(" sleep <time in the 1/100 of second>\n\r");
|
|
|
|
|
#elif LANG_RUS
|
2013-10-13 12:47:59 +02:00
|
|
|
|
printf(" sleep <<3C><><EFBFBD><EFBFBD>ࢠ<EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> ᥪ㭤<E1A5AA>>\n\r");
|
2013-02-17 16:22:51 +01:00
|
|
|
|
#endif
|
|
|
|
|
return TRUE;
|
|
|
|
|
}
|
2010-10-17 21:50:55 +02:00
|
|
|
|
|
|
|
|
|
delay = _atoi(param);
|
|
|
|
|
kol_sleep((unsigned)delay);
|
|
|
|
|
return TRUE;
|
|
|
|
|
}
|
2013-02-17 16:22:51 +01:00
|
|
|
|
|