Skip to content

Commit 5f00d3a

Browse files
committed
Code clean-up
1 parent 21f3029 commit 5f00d3a

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

examples/light-switch-app/silabs/src/AppTask.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@
4949

5050
#define SYSTEM_STATE_LED &sl_led_led0
5151

52-
#define APP_FUNCTION_BUTTON 0
53-
#define APP_LIGHT_SWITCH 1
5452
namespace {
5553
constexpr chip::EndpointId kLightSwitchEndpoint = 1;
5654
constexpr chip::EndpointId kGenericSwitchEndpoint = 2;

examples/light-switch-app/silabs/src/LightSwitchMgr.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ void LightSwitchMgr::changeStepMode()
111111

112112
void LightSwitchMgr::TriggerLightSwitchAction(LightSwitchAction action, bool isGroupCommand)
113113
{
114-
ChipLogProgress(AppServer, "1");
115114
BindingCommandData * data = Platform::New<BindingCommandData>();
116115

117116
data->clusterId = chip::app::Clusters::OnOff::Id;
@@ -143,7 +142,6 @@ void LightSwitchMgr::TriggerLightSwitchAction(LightSwitchAction action, bool isG
143142

144143
void LightSwitchMgr::TriggerLevelControlAction(LevelControl::StepModeEnum stepMode, bool isGroupCommand)
145144
{
146-
ChipLogProgress(AppServer, "2");
147145
BindingCommandData * data = Platform::New<BindingCommandData>();
148146

149147
data->clusterId = chip::app::Clusters::LevelControl::Id;
@@ -195,7 +193,6 @@ void LightSwitchMgr::GenericSwitchWorkerFunction(intptr_t context)
195193

196194
void LightSwitchMgr::SwitchActionEventHandler(AppEvent * aEvent)
197195
{
198-
ChipLogProgress(AppServer, "0");
199196
switch (aEvent->Type)
200197
{
201198
case AppEvent::kEventType_ActionButtonPressed:

0 commit comments

Comments
 (0)