From cd1b2c15ab9c05ddf99ccdbcd972132ead108e33 Mon Sep 17 00:00:00 2001 From: ntfreak Date: Mon, 6 Jul 2009 15:41:55 +0000 Subject: [PATCH] - change sleep to usleep - fixes issue under win32 build git-svn-id: svn://svn.berlios.de/openocd/trunk@2483 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/jtag/jlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c index b41731d2..aff1a6ca 100644 --- a/src/jtag/jlink.c +++ b/src/jtag/jlink.c @@ -328,7 +328,7 @@ static int jlink_init(void) LOG_INFO("J-Link initialization started / target CPU reset initiated"); jlink_simple_command(EMU_CMD_HW_TRST0); jlink_simple_command(EMU_CMD_HW_RESET0); - sleep(1); + usleep(1000); jlink_hw_jtag_version = 2; -- 2.39.5