Fix build issue under cygwin
cygwin does not define sleep, so use our internal win32 version.
caused by commit 9d4aec6bda
Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
This commit is contained in:
parent
ef599aebfd
commit
d16b0ea6d4
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue