diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-19 12:18:00 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-19 12:18:00 +0000 |
commit | 000f17c137c3292a8d424f541a87c994743c79de (patch) | |
tree | 1048e94d0159574bcc95dfeab0ffd8635f7ac082 /src/helper | |
parent | 8d0e3395a0ec1082872df71d0f982ede60e17bfb (diff) |
use alive_sleep() from sleep command
git-svn-id: svn://svn.berlios.de/openocd/trunk@939 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/command.c b/src/helper/command.c index 035b7dbc..c4edcc7f 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -693,7 +693,7 @@ int handle_sleep_command(struct command_context_s *cmd_ctx, char *cmd, char **ar if (argc == 1) { duration = strtoul(args[0], NULL, 0); - usleep(duration * 1000); + alive_sleep(duration); } return ERROR_OK; |