search and replace usleep(1000) with alive_sleep(1) to avoid GDB timeouts.
git-svn-id: svn://svn.berlios.de/openocd/trunk@942 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -355,7 +355,7 @@ int nand_read_status(struct nand_device_s *device, u8 *status)
|
||||
/* Send read status command */
|
||||
device->controller->command(device, NAND_CMD_STATUS);
|
||||
|
||||
usleep(1000);
|
||||
alive_sleep(1);
|
||||
|
||||
/* read status */
|
||||
if (device->device->options & NAND_BUSWIDTH_16)
|
||||
|
||||
Reference in New Issue
Block a user