- change sleep to usleep - fixes issue under win32 build
git-svn-id: svn://svn.berlios.de/openocd/trunk@2483 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
d41f2bfb14
commit
cd1b2c15ab
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue