summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/flash/nor/stellaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index b80daed1..c9c800ea 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -1215,7 +1215,7 @@ COMMAND_HANDLER(stellaris_handle_recover_command)
retval = jtag_execute_queue();
/* wait 400+ msec ... OK, "1+ second" is simpler */
- sleep(1);
+ usleep(1000);
/* USER INTERVENTION required for the power cycle
* Restarting OpenOCD is likely needed because of mode switching.