mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[cscore] Make camera connection logging clearer (#5866)
This commit is contained in:
@@ -499,7 +499,7 @@ bool UsbCameraImpl::DeviceConnect() {
|
||||
}
|
||||
|
||||
if (m_connectVerbose) {
|
||||
SINFO("Connecting to USB camera on {}", m_path);
|
||||
SINFO("Attempting to connect to USB camera on {}", m_path);
|
||||
}
|
||||
|
||||
SDEBUG3("opening device");
|
||||
@@ -526,6 +526,10 @@ bool UsbCameraImpl::DeviceConnect() {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (m_connectVerbose) {
|
||||
SINFO("Connected to USB camera on {}", m_path);
|
||||
}
|
||||
|
||||
CS_Status st = 0;
|
||||
auto devices = EnumerateUsbCameras(&st);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user