mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
UsbCamera: Allow silencing of Connecting message (#1231)
This commit is contained in:
@@ -289,7 +289,7 @@ bool UsbCameraProperty::DeviceSet(std::unique_lock<wpi::mutex>& lock,
|
||||
bool UsbCameraProperty::DeviceSet(std::unique_lock<wpi::mutex>& lock, int fd,
|
||||
int newValue,
|
||||
wpi::StringRef newValueStr) const {
|
||||
if (fd < 0) return true;
|
||||
if (!device || fd < 0) return true;
|
||||
unsigned idCopy = id;
|
||||
int rv = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user