diff options
Diffstat (limited to 'common/timer.c')
-rw-r--r-- | common/timer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/timer.c b/common/timer.c index 0daf501b9c..bda3e9c197 100644 --- a/common/timer.c +++ b/common/timer.c @@ -252,6 +252,7 @@ static void timer_sysjump(void) } DECLARE_HOOK(HOOK_SYSJUMP, timer_sysjump, HOOK_PRIO_DEFAULT); +#ifdef CONFIG_CMD_WAITMS static int command_wait(int argc, char **argv) { char *e; @@ -271,6 +272,7 @@ static int command_wait(int argc, char **argv) DECLARE_CONSOLE_COMMAND(waitms, command_wait, "msec", "Busy-wait for msec"); +#endif #ifdef CONFIG_CMD_FORCETIME static int command_force_time(int argc, char **argv) |