diff options
| author | Keith Packard <keithp@keithp.com> | 2012-10-15 00:24:28 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-10-15 00:24:28 -0700 | 
| commit | 5f31f6652f4b0898214d06d009af823a1ed3b96a (patch) | |
| tree | e1f7bb59a133a3e0ac442bef2456e23819afba19 | |
| parent | fdc00ec143022356bf8cdbb28812f045b439c549 (diff) | |
altos/telelco: 10ms is not enough time to get a packet back
Not reliable, so bump to 20ms
Signed-off-by: Keith Packard <keithp@keithp.com>
| -rw-r--r-- | src/drivers/ao_lco_func.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_lco_func.c b/src/drivers/ao_lco_func.c index 4af17fd6..99e58b76 100644 --- a/src/drivers/ao_lco_func.c +++ b/src/drivers/ao_lco_func.c @@ -37,7 +37,7 @@ ao_lco_query(uint16_t box, struct ao_pad_query *query, uint16_t *tick_offset)  	command.channels = 0;  	ao_radio_cmac_send(&command, sizeof (command));  	sent_time = ao_time(); -	r = ao_radio_cmac_recv(query, sizeof (*query), AO_MS_TO_TICKS(10)); +	r = ao_radio_cmac_recv(query, sizeof (*query), AO_MS_TO_TICKS(20));  	if (r == AO_RADIO_CMAC_OK)  		*tick_offset = sent_time - query->tick;  	ao_mutex_put(&ao_lco_mutex);  | 
