diff options
| author | Keith Packard <keithp@keithp.com> | 2011-04-19 15:29:39 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2011-04-19 15:29:39 -0700 |
| commit | d41edb3384b6336f3482e61b0c9f9400a8b4f519 (patch) | |
| tree | 9741801892421f6bff7106cb0c949af4b72555dd /altosui/libaltos/libaltos.c | |
| parent | 44fb71ca3e5bccd5f601fc5a2d5da7292050b1d6 (diff) | |
altosui: Make flight data download work through TeleBT
This required flushing input before reading data blocks and adjusting
some delays.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/libaltos/libaltos.c')
| -rw-r--r-- | altosui/libaltos/libaltos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/libaltos/libaltos.c b/altosui/libaltos/libaltos.c index c5bcf900..5e507cdf 100644 --- a/altosui/libaltos/libaltos.c +++ b/altosui/libaltos/libaltos.c @@ -698,7 +698,7 @@ altos_bt_open(struct altos_bt_device *device) perror("connect"); goto no_link; } - sleep(2); + sleep(1); #ifdef USE_POLL pipe(file->pipe); |
