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