mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
USBCameraImpl.cpp: Clean up formatting a bit.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user