From d16b0ea6d46736633e4b765df963682ee684cf5f Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Mon, 23 May 2011 10:22:12 +0100 Subject: Fix build issue under cygwin cygwin does not define sleep, so use our internal win32 version. caused by commit 9d4aec6bda90ad39a140747ea270c6a09dd26440 Signed-off-by: Spencer Oliver --- src/target/dsp5680xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/target/dsp5680xx.c b/src/target/dsp5680xx.c index 12b323ed..b8e95e4e 100644 --- a/src/target/dsp5680xx.c +++ b/src/target/dsp5680xx.c @@ -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; } -- cgit v1.2.3