From ab0da73404f8c83e3209e80bdafc74f56f7bd1cb Mon Sep 17 00:00:00 2001 From: Sting Chang Date: Thu, 2 May 2024 14:58:00 +0800 Subject: [PATCH] remove old rvc feature --- examples/chef/common/chef-rvc-mode-delegate.cpp | 2 +- .../app-common/app-common/zap-generated/cluster-enums.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/chef/common/chef-rvc-mode-delegate.cpp b/examples/chef/common/chef-rvc-mode-delegate.cpp index d5a85a68682456..d5415e1970eed6 100644 --- a/examples/chef/common/chef-rvc-mode-delegate.cpp +++ b/examples/chef/common/chef-rvc-mode-delegate.cpp @@ -156,7 +156,7 @@ void emberAfRvcRunModeClusterInitCallback(chip::EndpointId endpointId) VerifyOrDie(gRvcRunModeDelegate == nullptr && gRvcRunModeInstance == nullptr); gRvcRunModeDelegate = new RvcRunMode::RvcRunModeDelegate; gRvcRunModeInstance = - new ModeBase::Instance(gRvcRunModeDelegate, endpointId, RvcRunMode::Id, chip::to_underlying(RvcRunMode::Feature::kOnOff)); + new ModeBase::Instance(gRvcRunModeDelegate, endpointId, RvcRunMode::Id, chip::to_underlying(RvcRunMode::Feature::kNoFeatures)); gRvcRunModeInstance->Init(); } diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h b/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h index 5aa99576615f54..42a54b95ee944f 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-enums.h @@ -1832,7 +1832,6 @@ enum class StatusCode : uint8_t enum class Feature : uint32_t { kNoFeatures = 0x0, - kOnOff = 0x1, }; } // namespace RvcRunMode @@ -1866,7 +1865,6 @@ enum class StatusCode : uint8_t enum class Feature : uint32_t { kNoFeatures = 0x0, - kOnOff = 0x1, }; } // namespace RvcCleanMode