mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
Upgraded clang-format to 5.0 (#103)
This commit is contained in:
committed by
Peter Johnson
parent
7847c69231
commit
cf828ca858
@@ -664,9 +664,8 @@ CS_StatusValue UsbCameraImpl::DeviceCmdSetProperty(
|
||||
|
||||
// Check kind match
|
||||
if ((setString && prop->propKind != CS_PROP_STRING) ||
|
||||
(!setString &&
|
||||
(prop->propKind & (CS_PROP_BOOLEAN | CS_PROP_INTEGER | CS_PROP_ENUM)) ==
|
||||
0))
|
||||
(!setString && (prop->propKind &
|
||||
(CS_PROP_BOOLEAN | CS_PROP_INTEGER | CS_PROP_ENUM)) == 0))
|
||||
return CS_WRONG_PROPERTY_TYPE;
|
||||
|
||||
// Handle percentage property
|
||||
|
||||
Reference in New Issue
Block a user