Skip to content

Commit

Permalink
Remove unused capture in sampleMEI cluster lambda
Browse files Browse the repository at this point in the history
which caused compilation failure due to warning
  • Loading branch information
erwinpan1 committed Jan 20, 2024
1 parent 73a4fd9 commit c80f3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/clusters/sample-mei-server/sample-mei-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void SampleMeiServer::InvokeCommand(HandlerContext & ctxt)
{
case Commands::Ping::Id:
HandleCommand<Commands::Ping::DecodableType>(
ctxt, [this, endpoint, fabricIndex, endpointIndex, ctxt](HandlerContext & ctx, const auto & req) {
ctxt, [this, endpoint, fabricIndex, endpointIndex](HandlerContext & ctx, const auto & req) {
ChipLogProgress(Zcl, "Ping Command on Ep %d", endpoint);
Events::PingCountEvent::Type event{ .count = content[endpointIndex].pingCount++, .fabricIndex = fabricIndex };
chip::EventNumber placeholderEventNumber;
Expand Down

0 comments on commit c80f3ed

Please sign in to comment.