USBCameraImpl.cpp: Clean up formatting a bit.

This commit is contained in:
Peter Johnson
2016-10-13 00:32:06 -07:00
parent 4c6f6536b8
commit 473a87a76b

View File

@@ -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();
}