Skip to content

Commit

Permalink
[Infineon] Fix Warnings (#23673)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreeramIfx authored Nov 19, 2022
1 parent aa9b0c5 commit 1bcbcfa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions examples/lock-app/infineon/cyw30739/src/ButtonHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ void app_button_event_handler(const button_manager_button_t * button_mgr, button
// state);
bool initiated = false;
LockManager::Action_t action;
int32_t actor;
CHIP_ERROR err = CHIP_NO_ERROR;
if (button_mgr[0].configuration->button == PLATFORM_BUTTON_1 && event == BUTTON_CLICK_EVENT && state == BUTTON_STATE_RELEASED)
{
Expand All @@ -87,7 +86,6 @@ void app_button_event_handler(const button_manager_button_t * button_mgr, button
{
action = LockManager::UNLOCK_ACTION;
}
actor = AppEvent::kEventType_Button;
}
else
{
Expand Down
1 change: 0 additions & 1 deletion examples/lock-app/infineon/cyw30739/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ static FactoryDataProvider sFactoryDataProvider;
static void InitApp(intptr_t args);
static void ActionInitiated(LockManager::Action_t aAction, int32_t aActor);
static void ActionCompleted(LockManager::Action_t aAction);
static void WriteClusterState(uint8_t value);
static void UpdateClusterState(intptr_t context);

#ifndef _countof
Expand Down

0 comments on commit 1bcbcfa

Please sign in to comment.