summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tracker-wii/wii_camera.cpp1
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)) {