IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Commit Details
Date: | 2011-06-10 01:54:07 (12 years 9 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | 78ab0179905ccd06c2fd6caa0f8c662d81bcc2ca |
Message: | 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. |
Files: |
tools/atrf-proxy/atrf-proxy.c (1 diff) |
Change Details
tools/atrf-proxy/atrf-proxy.c | ||
---|---|---|
224 | 224 | if (res < 0) |
225 | 225 | return netio_printf(netio, "-I/O error\n"); |
226 | 226 | if (!res) |
227 | usleep(100*1000); | |
227 | usleep(2*1000); | |
228 | 228 | return netio_printf(netio, "+%d\n", res); |
229 | 229 | } |
230 | 230 | return netio_printf(netio, "-unrecognized command\n"); |