summaryrefslogtreecommitdiffhomepage
path: root/tracker-wii/wii_camera.cpp
diff options
context:
space:
mode:
authorWei Shuai <cpuwolf@gmail.com>2018-02-08 06:45:52 +0800
committerWei Shuai <cpuwolf@gmail.com>2018-02-08 06:45:52 +0800
commitb62f4a94932785203ad133565575bc5cf0f0f408 (patch)
treee3ccfcbb2720af4ac05f31dfcb3c3bd919d3491e /tracker-wii/wii_camera.cpp
parent9b6440c355f6540caa2fc0d7a7b65b6b7078d3ab (diff)
tracker/wii: enhance friendly UI
1. add new status wii_cam_wait_for_dongle 2. show "insert USB dongle" in preview window
Diffstat (limited to 'tracker-wii/wii_camera.cpp')
-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 9b6da4e1..1186afc1 100644
--- a/tracker-wii/wii_camera.cpp
+++ b/tracker-wii/wii_camera.cpp
@@ -115,7 +115,7 @@ wii_camera_status WIICamera::_pair()
bt_param.dwSize = sizeof(bt_param);
hbt = BluetoothFindFirstRadio(&bt_param, hbtlist + ibtidx);
- if (!hbt) { return ret; }
+ if (!hbt) { ret = wii_cam_wait_for_dongle; return ret; }
do
{
ibtidx++;