summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii
diff options
context:
space:
mode:
authorWei Shuai <cpuwolf@gmail.com>2018-02-10 08:44:33 +0800
committerWei Shuai <cpuwolf@gmail.com>2018-02-10 08:44:33 +0800
commit9eab858bed2da81a701d844a09cbbe29a3d792f2 (patch)
tree97ef5671092ca835867ce8f2527aee112c737b85 /tracker-wii
parent654ff0ce5da99b919d153222a358b2b969f16236 (diff)
tracker/wii: optimize BT enumeration time
Diffstat (limited to 'tracker-wii')
-rw-r--r--tracker-wii/wii_camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-wii/wii_camera.cpp b/tracker-wii/wii_camera.cpp
index 1186afc1..d3682e6f 100644
--- a/tracker-wii/wii_camera.cpp
+++ b/tracker-wii/wii_camera.cpp
@@ -142,7 +142,7 @@ wii_camera_status WIICamera::_pair()
btdevparam.fReturnConnected = TRUE;
btdevparam.fReturnRemembered = TRUE;
btdevparam.fIssueInquiry = TRUE;
- btdevparam.cTimeoutMultiplier = 2;
+ btdevparam.cTimeoutMultiplier = 1;
btdevparam.hRadio = hbtlist[i];
hbtdevfd=BluetoothFindFirstDevice(&btdevparam, &btdevinfo);
if (!hbtdevfd) {