#include <common.h>
#include <command.h>
-#if defined(CONFIG_CMD_MISC)
-
int do_sleep (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
{
ulong start = get_timer(0);
return 1;
}
- delay = simple_strtoul(argv[1], NULL, 10) * CFG_HZ;
+ delay = simple_strtoul(argv[1], NULL, 10) * CONFIG_SYS_HZ;
while (get_timer(start) < delay) {
if (ctrlc ()) {
"N\n"
" - delay execution for N seconds (N is _decimal_ !!!)\n"
);
-
-#endif