Skip to content

Commit

Permalink
Address comments and review liscenses
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Nov 14, 2024
1 parent e3c1cac commit 67b1ac5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 36 deletions.
4 changes: 2 additions & 2 deletions examples/platform/silabs/wifi/icd/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ config("sleep-manager-config") {

source_set("sleep-manager") {
sources = [
"SiWxSleepManager.cpp",
"SiWxSleepManager.h",
"SleepManager.cpp",
"SleepManager.h",
]

public_deps = [
Expand Down
16 changes: 0 additions & 16 deletions examples/platform/silabs/wifi/icd/SleepManager.cpp
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
24 changes: 6 additions & 18 deletions examples/platform/silabs/wifi/icd/SleepManager.h
Original file line number Diff line number Diff line change
@@ -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 <app/ReadHandler.h>
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 67b1ac5

Please sign in to comment.