summaryrefslogtreecommitdiff
path: root/common/cmd_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_misc.c')
-rw-r--r--common/cmd_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_misc.c b/common/cmd_misc.c
index 126b538..3ea8ee0 100644
--- a/common/cmd_misc.c
+++ b/common/cmd_misc.c
@@ -37,7 +37,7 @@ int do_sleep (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
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 ()) {