diff --git a/examples/platform/silabs/wifi/icd/BUILD.gn b/examples/platform/silabs/wifi/icd/BUILD.gn index eed4e4e612..7b0e1b1fef 100644 --- a/examples/platform/silabs/wifi/icd/BUILD.gn +++ b/examples/platform/silabs/wifi/icd/BUILD.gn @@ -21,8 +21,8 @@ config("sleep-manager-config") { source_set("sleep-manager") { sources = [ - "SiWxSleepManager.cpp", - "SiWxSleepManager.h", + "SleepManager.cpp", + "SleepManager.h", ] public_deps = [ diff --git a/examples/platform/silabs/wifi/icd/SleepManager.cpp b/examples/platform/silabs/wifi/icd/SleepManager.cpp index 57a6e64ef0..8fc181ce19 100644 --- a/examples/platform/silabs/wifi/icd/SleepManager.cpp +++ b/examples/platform/silabs/wifi/icd/SleepManager.cpp @@ -1,19 +1,3 @@ -/* - * Copyright (c) 2024 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - #include "SleepManager.h" using namespace chip::app; diff --git a/examples/platform/silabs/wifi/icd/SleepManager.h b/examples/platform/silabs/wifi/icd/SleepManager.h index 7897398b4a..80db24807c 100644 --- a/examples/platform/silabs/wifi/icd/SleepManager.h +++ b/examples/platform/silabs/wifi/icd/SleepManager.h @@ -1,16 +1,4 @@ -/* - * Copyright (c) 2024 Project CHIP Authors - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under the License. - */ + #pragma once #include @@ -49,12 +37,12 @@ class SleepManager : public chip::app::ICDStateObserver, public chip::app::ReadH */ CHIP_ERROR Init(); - // ICDSateObserver implementation overrides + // ICDStateObserver implementation overrides - void OnEnterActiveMode() override; - void OnEnterIdleMode() override; - void OnTransitionToIdle() override { /* No execution logic */ } - void OnICDModeChange() override { /* No execution logic */ } + void OnEnterActiveMode(); + void OnEnterIdleMode(); + void OnTransitionToIdle() { /* No execution logic */ } + void OnICDModeChange() { /* No execution logic */ } // ReadHandler::ApplicationCallback implementation overrides