mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 13:54:59 +02:00
tools/atrf-proxy/atrf-proxy.c (cmd_zero): reduce poll delay from 100 ms to 2 ms
The overly generous delay has the effect of encouraging dubious optimizations elsewhere. Not a good idea.
This commit is contained in:
parent
abe923d2ef
commit
78ab017990
@ -224,7 +224,7 @@ static int cmd_zero(struct atrf_dsc *dsc, struct netio *netio, const char *cmd)
|
||||
if (res < 0)
|
||||
return netio_printf(netio, "-I/O error\n");
|
||||
if (!res)
|
||||
usleep(100*1000);
|
||||
usleep(2*1000);
|
||||
return netio_printf(netio, "+%d\n", res);
|
||||
}
|
||||
return netio_printf(netio, "-unrecognized command\n");
|
||||
|
Loading…
Reference in New Issue
Block a user