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:
@@ -258,7 +258,7 @@ u32 at91sam7_wait_status_busy(flash_bank_t *bank, u8 flashplane, u32 waitbits, i
|
||||
while ((!((status = at91sam7_get_flash_status(bank,flashplane)) & waitbits)) && (timeout-- > 0))
|
||||
{
|
||||
LOG_DEBUG("status[%i]: 0x%x", flashplane, status);
|
||||
usleep(1000);
|
||||
alive_sleep(1);
|
||||
}
|
||||
|
||||
LOG_DEBUG("status[%i]: 0x%x", flashplane, status);
|
||||
|
||||
Reference in New Issue
Block a user