From d11c2ba8fe918f4c4cbac0f536d2b6de8a911563 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 21 Aug 2024 13:42:03 +0000 Subject: [PATCH] Restyled by clang-format --- .../service-area-server/service-area-cluster-objects.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/clusters/service-area-server/service-area-cluster-objects.h b/src/app/clusters/service-area-server/service-area-cluster-objects.h index b7145e2b09f04b..69a392a874f49d 100644 --- a/src/app/clusters/service-area-server/service-area-cluster-objects.h +++ b/src/app/clusters/service-area-server/service-area-cluster-objects.h @@ -115,8 +115,8 @@ struct AreaStructureWrapper : public chip::app::Clusters::ServiceArea::Structs:: memcpy(mAreaNameBuffer, locationName.data(), sizeToCopy); areaDesc.locationInfo.Value().locationName = CharSpan(mAreaNameBuffer, sizeToCopy); - areaDesc.locationInfo.Value().floorNumber = floorNumber; - areaDesc.locationInfo.Value().areaType = areaType; + areaDesc.locationInfo.Value().floorNumber = floorNumber; + areaDesc.locationInfo.Value().areaType = areaType; return *this; } @@ -322,7 +322,7 @@ struct MapStructureWrapper : public chip::app::Clusters::ServiceArea::Structs::M */ void Set(uint32_t aMapId, const CharSpan & aMapName) { - mapID = aMapId; + mapID = aMapId; // Copy the name. If the name is larger than kMapNameMaxSize, truncate it to fit. auto sizeToCopy = std::min(kMapNameMaxSize, aMapName.size()); memcpy(mMapNameBuffer, aMapName.data(), sizeToCopy);