Skip to content

Commit f08a7d8

Browse files
Apply suggestions from code review
Co-authored-by: Abdul Samad <[email protected]>
1 parent b717e17 commit f08a7d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/clusters/camera-av-stream-management-server/camera-av-stream-management-server.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,8 +1015,8 @@ void CameraAVStreamMgmtServer::ModifyVideoStream(const uint16_t streamID, const
10151015
if (wasModified)
10161016
{
10171017
PersistAndNotify<Attributes::AllocatedVideoStreams::Id>();
1018+
ChipLogProgress(Camera, "Modified video stream with ID: %d", streamID);
10181019
}
1019-
ChipLogProgress(Camera, "Modified video stream with ID: %d", streamID);
10201020
return;
10211021
}
10221022
}
@@ -1043,8 +1043,8 @@ void CameraAVStreamMgmtServer::ModifySnapshotStream(const uint16_t streamID, con
10431043
if (wasModified)
10441044
{
10451045
PersistAndNotify<Attributes::AllocatedSnapshotStreams::Id>();
1046+
ChipLogProgress(Camera, "Modified snapshot stream with ID: %d", streamID);
10461047
}
1047-
ChipLogProgress(Camera, "Modified snapshot stream with ID: %d", streamID);
10481048
return;
10491049
}
10501050
}

0 commit comments

Comments
 (0)