diff --git a/examples/all-clusters-app/linux/AllClustersCommandDelegate.cpp b/examples/all-clusters-app/linux/AllClustersCommandDelegate.cpp index 27c23f7e33b659..408b73ed6c8ac8 100644 --- a/examples/all-clusters-app/linux/AllClustersCommandDelegate.cpp +++ b/examples/all-clusters-app/linux/AllClustersCommandDelegate.cpp @@ -117,7 +117,7 @@ void AllClustersAppCommandHandler::HandleCommand(intptr_t context) { uint8_t previousPosition = static_cast(self->mJsonValue["PreviousPosition"].asUInt()); uint8_t count = static_cast(self->mJsonValue["TotalNumberOfPressesCounted"].asUInt()); - self->OnSwitchMultiPressOngoingHandler(previousPosition, count); + self->OnSwitchMultiPressCompleteHandler(previousPosition, count); } else if (name == "PowerOnReboot") {