From 473a87a76b8033e784de4996bf124b8b7b251044 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Thu, 13 Oct 2016 00:32:06 -0700 Subject: [PATCH] USBCameraImpl.cpp: Clean up formatting a bit. --- src/USBCameraImpl.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/USBCameraImpl.cpp b/src/USBCameraImpl.cpp index a2e08836f2..acaf3c6d4d 100644 --- a/src/USBCameraImpl.cpp +++ b/src/USBCameraImpl.cpp @@ -439,7 +439,6 @@ void USBCameraImpl::CameraThreadMain() { // Default to not streaming m_streaming = false; - while (m_active) { // If not connected, try to reconnect if (m_fd < 0) DeviceConnect(); @@ -577,9 +576,8 @@ void USBCameraImpl::CameraThreadMain() { } } - DeviceStreamOff(); - // close camera connection + DeviceStreamOff(); DeviceDisconnect(); }