mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user