Skip to content

Commit 95c68f7

Browse files
restyled-commitshicklin
authored andcommitted
Restyled by clang-format
1 parent ec07b0e commit 95c68f7

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

examples/rvc-app/rvc-common/src/rvc-service-area-delegate.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ CHIP_ERROR RvcServiceAreaDelegate::Init()
4141
// Location A has name, floor number, uses map XX
4242
GetInstance()->AddSupportedLocation(supportedAreaID_A, DataModel::Nullable<uint32_t>(supportedMapId_XX), "My Location A"_span,
4343
DataModel::Nullable<int16_t>(4), DataModel::Nullable<Globals::AreaTypeTag>(),
44-
DataModel::Nullable<Globals::LandmarkTag>(), DataModel::Nullable<Globals::RelativePositionTag>());
44+
DataModel::Nullable<Globals::LandmarkTag>(),
45+
DataModel::Nullable<Globals::RelativePositionTag>());
4546

4647
// Location B has name, uses map XX
4748
GetInstance()->AddSupportedLocation(supportedAreaID_B, DataModel::Nullable<uint32_t>(supportedMapId_XX), "My Location B"_span,
4849
DataModel::Nullable<int16_t>(), DataModel::Nullable<Globals::AreaTypeTag>(),
49-
DataModel::Nullable<Globals::LandmarkTag>(), DataModel::Nullable<Globals::RelativePositionTag>());
50+
DataModel::Nullable<Globals::LandmarkTag>(),
51+
DataModel::Nullable<Globals::RelativePositionTag>());
5052

5153
// Location C has full SemData, no name, Map YY
5254
GetInstance()->AddSupportedLocation(supportedAreaID_C, DataModel::Nullable<uint32_t>(supportedMapId_YY), CharSpan(),

src/app/clusters/service-area-server/service-area-cluster-objects.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ struct AreaStructureWrapper : public chip::app::Clusters::ServiceArea::Structs::
5151
* @param[in] aAreaTypeTag A common namespace Area tag - indicates an association of the location with an indoor or outdoor area
5252
* of a home.
5353
* @param[in] aLandmarkTag A common namespace Landmark tag - indicates an association of the location with a home landmark.
54-
* @param[in] aRelativePositionTag A common namespace Relative Position tag - indicates the position of the location with respect to the
55-
* landmark.
54+
* @param[in] aRelativePositionTag A common namespace Relative Position tag - indicates the position of the location with
55+
* respect to the landmark.
5656
*
5757
* @note Requirements regarding what combinations of fields and values are valid are not checked by this class.
5858
* @note If aLocationName is larger than kLocationNameMaxSize, it will be truncated.
@@ -136,8 +136,8 @@ struct AreaStructureWrapper : public chip::app::Clusters::ServiceArea::Structs::
136136
* @param[in] aAreaTypeTag A common namespace Area tag - indicates an association of the location with an indoor or outdoor area
137137
* of a home.
138138
* @param[in] aLandmarkTag A common namespace Landmark tag - indicates an association of the location with a home landmark.
139-
* @param[in] aRelativePositionTag A common namespace Relative Position tag - indicates the position of the location with respect to the
140-
* landmark.
139+
* @param[in] aRelativePositionTag A common namespace Relative Position tag - indicates the position of the location with
140+
* respect to the landmark.
141141
*
142142
* @note Requirements regarding what combinations of fields and values are valid are not checked by this class.
143143
* @note If aLocationName is larger than kLocationNameMaxSize, it will be truncated.

src/app/clusters/service-area-server/service-area-server.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ class Instance : public AttributeAccessInterface, public CommandHandlerInterface
177177
* @param[in] aAreaType common namespace Area tag - indicates an association of the location with an indoor or outdoor area of a
178178
* home.
179179
* @param[in] aLandmarkTag common namespace Landmark tag - indicates an association of the location with a home landmark.
180-
* @param[in] aRelativePositionTag common namespace Relative Position tag - indicates the position of the location with respect to the landmark.
180+
* @param[in] aRelativePositionTag common namespace Relative Position tag - indicates the position of the location with respect
181+
* to the landmark.
181182
* @return true if the new location passed validation checks and was successfully added to the list.
182183
*
183184
* @note if aLocationName is larger than kLocationNameMaxSize, it will be truncated.
@@ -197,7 +198,8 @@ class Instance : public AttributeAccessInterface, public CommandHandlerInterface
197198
* @param[in] aAreaType common namespace Area tag - indicates an association of the location with an indoor or outdoor area of a
198199
* home.
199200
* @param[in] aLandmarkTag common namespace Landmark tag - indicates an association of the location with a home landmark.
200-
* @param[in] aRelativePositionTag common namespace Relative Position tag - indicates the position of the location with respect to the landmark.
201+
* @param[in] aRelativePositionTag common namespace Relative Position tag - indicates the position of the location with respect
202+
* to the landmark.
201203
* @return true if the location is a member of supported locations, the modifications pass all validation checks and the
202204
* location was modified.
203205
*

0 commit comments

Comments
 (0)