fet: reduce polling interval to 50 ms (was 500 ms).

This commit is contained in:
Daniel Beer 2010-08-17 11:54:34 +12:00
parent d512949d81
commit d2c91feeb0
1 changed files with 1 additions and 2 deletions

3
fet.c
View File

@ -604,8 +604,7 @@ static device_status_t fet_poll(device_t dev_base)
{
struct fet_device *dev = (struct fet_device *)dev_base;
/* Without this delay, breakpoints can get lost. */
if (usleep(500000) < 0)
if (usleep(50000) < 0)
return DEVICE_STATUS_INTR;
if (xfer(dev, C_STATE, NULL, 0, 1, 0) < 0) {