File tree 1 file changed +3
-3
lines changed
src/app/clusters/service-area-server
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,8 +115,8 @@ struct AreaStructureWrapper : public chip::app::Clusters::ServiceArea::Structs::
115
115
memcpy (mAreaNameBuffer , locationName.data (), sizeToCopy);
116
116
areaDesc.locationInfo .Value ().locationName = CharSpan (mAreaNameBuffer , sizeToCopy);
117
117
118
- areaDesc.locationInfo .Value ().floorNumber = floorNumber;
119
- areaDesc.locationInfo .Value ().areaType = areaType;
118
+ areaDesc.locationInfo .Value ().floorNumber = floorNumber;
119
+ areaDesc.locationInfo .Value ().areaType = areaType;
120
120
121
121
return *this ;
122
122
}
@@ -322,7 +322,7 @@ struct MapStructureWrapper : public chip::app::Clusters::ServiceArea::Structs::M
322
322
*/
323
323
void Set (uint32_t aMapId, const CharSpan & aMapName)
324
324
{
325
- mapID = aMapId;
325
+ mapID = aMapId;
326
326
// Copy the name. If the name is larger than kMapNameMaxSize, truncate it to fit.
327
327
auto sizeToCopy = std::min (kMapNameMaxSize , aMapName.size ());
328
328
memcpy (mMapNameBuffer , aMapName.data (), sizeToCopy);
You can’t perform that action at this time.
0 commit comments