mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-24 01:31:46 +00:00
[cscore] Make camera connection logging clearer (#5866)
This commit is contained in:
@@ -595,7 +595,7 @@ void UsbCameraImpl::DeviceConnect() {
|
||||
}
|
||||
|
||||
if (m_connectVerbose) {
|
||||
SINFO("Connecting to USB camera on {}", m_path);
|
||||
SINFO("Attempting to connect to USB camera on {}", m_path);
|
||||
}
|
||||
|
||||
// Try to open the device
|
||||
@@ -606,6 +606,10 @@ void UsbCameraImpl::DeviceConnect() {
|
||||
}
|
||||
m_fd = fd;
|
||||
|
||||
if (m_connectVerbose) {
|
||||
SINFO("Connected to USB camera on {}", m_path);
|
||||
}
|
||||
|
||||
// Get capabilities
|
||||
SDEBUG3("getting capabilities");
|
||||
struct v4l2_capability vcap;
|
||||
|
||||
Reference in New Issue
Block a user