diff options
author | Wei Shuai <cpuwolf@gmail.com> | 2018-02-08 06:38:38 +0800 |
---|---|---|
committer | Wei Shuai <cpuwolf@gmail.com> | 2018-02-08 06:38:38 +0800 |
commit | 43e5053810319066dbfe657f5b1a6dc67900eac5 (patch) | |
tree | 6407ff2bee43e3ef81b22165483778ca9c8d6b47 | |
parent | 35bca40ccb844803d11505947903584f33216182 (diff) |
tracker/wii: sync and connect
remove useless disconnect function
-rw-r--r-- | tracker-wii/wii_camera.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tracker-wii/wii_camera.cpp b/tracker-wii/wii_camera.cpp index 163dad17..9b6da4e1 100644 --- a/tracker-wii/wii_camera.cpp +++ b/tracker-wii/wii_camera.cpp @@ -203,7 +203,6 @@ wii_camera_status WIICamera::_get_frame(cv::Mat& frame) m_pDev->Disconnect(); goto goodbye; case wii_cam_wait_for_connect: - m_pDev->Disconnect(); break; } if (!m_pDev->Connect(wiimote::FIRST_AVAILABLE)) { |