Commit d16b0ea6 authored by Spencer Oliver's avatar Spencer Oliver
Browse files

Fix build issue under cygwin

cygwin does not define sleep, so use our internal win32 version.
caused by commit 9d4aec6b

Signed-off-by: default avatarSpencer Oliver <ntfreak@users.sourceforge.net>
parent ef599aeb
......@@ -162,7 +162,7 @@ static int dsp5680xx_assert_reset(struct target *target){
jtag_add_reset(1,0);
target->state = TARGET_RESET;
jtag_add_sleep(500);
sleep(1);
usleep(1000);
return ERROR_OK;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment