diff options
author | Keith Packard <keithp@keithp.com> | 2013-04-20 22:16:28 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-04-20 22:16:28 -0500 |
commit | 5109f4b4d8eecf1246832c2a0360ddc0f0253042 (patch) | |
tree | f931b36f31adfd5cbe45612186b9661236b191f9 /libaltos | |
parent | af7a28494cb6c858013aba305061f73192b12b10 (diff) |
libaltos: Delay after opening bluetooth device on linuxdroid-gps
Writes immediately after the open disappear sometimes.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'libaltos')
-rw-r--r-- | libaltos/libaltos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libaltos/libaltos.c b/libaltos/libaltos.c index 69a6735f..fc949c70 100644 --- a/libaltos/libaltos.c +++ b/libaltos/libaltos.c @@ -765,6 +765,7 @@ altos_bt_open(struct altos_bt_device *device) altos_set_last_posix_error(); goto no_link; } + usleep(100 * 1000); #ifdef USE_POLL pipe(file->pipe); |