2010-10-17 19:50:55 +00:00
|
|
|
|
2021-06-12 21:34:41 +00:00
|
|
|
int cmd_sleep(char param[]) {
|
|
|
|
int delay;
|
|
|
|
if (!strlen(param)) {
|
|
|
|
printf(CMD_SLEEP_USAGE);
|
|
|
|
return TRUE;
|
2013-02-17 15:22:51 +00:00
|
|
|
}
|
2021-06-12 21:34:41 +00:00
|
|
|
delay = atoi(param);
|
|
|
|
kol_sleep((unsigned)delay);
|
|
|
|
return TRUE;
|
2010-10-17 19:50:55 +00:00
|
|
|
}
|
2013-02-17 15:22:51 +00:00
|
|
|
|