Skip to content

Commit 67b1ac5

Browse files
Address comments and review liscenses
1 parent e3c1cac commit 67b1ac5

File tree

3 files changed

+8
-36
lines changed

3 files changed

+8
-36
lines changed

examples/platform/silabs/wifi/icd/BUILD.gn

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ config("sleep-manager-config") {
2121

2222
source_set("sleep-manager") {
2323
sources = [
24-
"SiWxSleepManager.cpp",
25-
"SiWxSleepManager.h",
24+
"SleepManager.cpp",
25+
"SleepManager.h",
2626
]
2727

2828
public_deps = [

examples/platform/silabs/wifi/icd/SleepManager.cpp

-16
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
/*
2-
* Copyright (c) 2024 Project CHIP Authors
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
171
#include "SleepManager.h"
182

193
using namespace chip::app;

examples/platform/silabs/wifi/icd/SleepManager.h

+6-18
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
1-
/*
2-
* Copyright (c) 2024 Project CHIP Authors
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12-
* or implied. See the License for the specific language governing permissions and limitations under the License.
13-
*/
1+
142
#pragma once
153

164
#include <app/ReadHandler.h>
@@ -49,12 +37,12 @@ class SleepManager : public chip::app::ICDStateObserver, public chip::app::ReadH
4937
*/
5038
CHIP_ERROR Init();
5139

52-
// ICDSateObserver implementation overrides
40+
// ICDStateObserver implementation overrides
5341

54-
void OnEnterActiveMode() override;
55-
void OnEnterIdleMode() override;
56-
void OnTransitionToIdle() override { /* No execution logic */ }
57-
void OnICDModeChange() override { /* No execution logic */ }
42+
void OnEnterActiveMode();
43+
void OnEnterIdleMode();
44+
void OnTransitionToIdle() { /* No execution logic */ }
45+
void OnICDModeChange() { /* No execution logic */ }
5846

5947
// ReadHandler::ApplicationCallback implementation overrides
6048

0 commit comments

Comments
 (0)