projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8de9d3c
)
altosui: Wait two seconds after bluetooth connect XXX
author
Keith Packard
<keithp@keithp.com>
Tue, 19 Apr 2011 17:41:28 +0000
(10:41 -0700)
committer
Keith Packard
<keithp@keithp.com>
Tue, 19 Apr 2011 17:41:28 +0000
(10:41 -0700)
"something" isn't quite ready to communicate right after the device is
connected, so we stick a delay in. There should be a better fix.
Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/libaltos/libaltos.c
patch
|
blob
|
history
diff --git
a/altosui/libaltos/libaltos.c
b/altosui/libaltos/libaltos.c
index 2c47f3e531f2b55d975a7a261193cafb17eb6a42..c5bcf90070682a6f1974300ef916eeef941fc508 100644
(file)
--- a/
altosui/libaltos/libaltos.c
+++ b/
altosui/libaltos/libaltos.c
@@
-698,6
+698,7
@@
altos_bt_open(struct altos_bt_device *device)
perror("connect");
goto no_link;
}
+ sleep(2);
#ifdef USE_POLL
pipe(file->pipe);