Skip to content

Commit

Permalink
Added restyler changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shgutte committed Nov 22, 2024
1 parent 54833f1 commit 69fdcc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions examples/refrigerator-app/silabs/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ CHIP_ERROR AppTask::StartAppTask()
return BaseApplication::StartAppTask(AppTaskMain);
}



void AppTask::AppTaskMain(void * pvParameter)
{
AppEvent event;
Expand Down
6 changes: 3 additions & 3 deletions examples/refrigerator-app/silabs/src/EventHandlerLibShell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ CHIP_ERROR RegisterRefrigeratorEvents()

void EventWorkerFunction(intptr_t context)
{
VerifyOrReturn(reinterpret_cast<void*>(context) != nullptr, ChipLogError(Shell, "EventWorkerFunction - Invalid work data"));
VerifyOrReturn(reinterpret_cast<void *>(context) != nullptr, ChipLogError(Shell, "EventWorkerFunction - Invalid work data"));
EventData * data = reinterpret_cast<EventData *>(context);

switch (data->eventId)
Expand All @@ -172,7 +172,7 @@ void EventWorkerFunction(intptr_t context)
ChipLogError(Zcl, "Invalid Event Id %s, line %d", __func__, __LINE__);
break;
}
// Free memory
Platform::Delete(data);
// Free memory
Platform::Delete(data);
}
}

0 comments on commit 69fdcc0

Please sign in to comment.