projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stellaris: recover_command use usleep rather than sleep
[fw/openocd]
/
src
/
flash
/
nor
/
stellaris.c
diff --git
a/src/flash/nor/stellaris.c
b/src/flash/nor/stellaris.c
index b80daed1d42fef23682c449c8625ef2a855942c2..c9c800ea2d43010c71ab5518a3daaf32e38c58fc 100644
(file)
--- 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.