Skip to content

Commit 7a103d6

Browse files
wqx6bzbarsky-apple
authored andcommitted
Update src/app/clusters/time-format-localization-server/time-format-localization-server.cpp
Co-authored-by: Boris Zbarsky <[email protected]>
1 parent 2c4f87f commit 7a103d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/clusters/time-format-localization-server/time-format-localization-server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ TimeFormatLocalizationAttrAccess gAttrAccess;
8181
bool HasFeature(EndpointId endpoint, Feature feature)
8282
{
8383
uint32_t featureMap;
84-
return FeatureMap::Get(endpoint, &featureMap) == Status::Success ? featureMap & to_underlying(feature) : false;
84+
return FeatureMap::Get(endpoint, &featureMap) == Status::Success ? (featureMap & to_underlying(feature)) : false;
8585
}
8686

8787
CHIP_ERROR TimeFormatLocalizationAttrAccess::ReadSupportedCalendarTypes(AttributeValueEncoder & aEncoder)

0 commit comments

Comments
 (0)