Skip to content
Snippets Groups Projects
Commit 000f17c1 authored by oharboe's avatar oharboe
Browse files

use alive_sleep() from sleep command

git-svn-id: svn://svn.berlios.de/openocd/trunk@939 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 8d0e3395
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment