Skip to content

Commit

Permalink
fix: excluded unsued context from task call
Browse files Browse the repository at this point in the history
Change-Id: I8a353828804b2a203d336e47edbe58ce7d62163a
  • Loading branch information
rochaferraz committed Apr 5, 2022
1 parent 863a8ec commit 19a5fc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion examples/chef/chef_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
#
# USER DEFINED INFORMATION
#
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/esp32/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ void printQRCode()
}
#endif // CONFIG_HAVE_DISPLAY

void InitServer(intptr_t context)
void InitServer(intptr_t)
{
// Start IM server
chip::Server::GetInstance().Init();
Expand Down Expand Up @@ -192,7 +192,7 @@ extern "C" void app_main(void)
// Network connectivity
// Note to integration: StartWiFiManagement does not exist on ESP32

chip::DeviceLayer::PlatformMgr().ScheduleWork(InitServer, reinterpret_cast<intptr_t>(nullptr));
chip::DeviceLayer::PlatformMgr().ScheduleWork(InitServer);
PrintOnboardingCodes(chip::RendezvousInformationFlag(chip::RendezvousInformationFlag::kBLE));

#if CONFIG_HAVE_DISPLAY
Expand Down

0 comments on commit 19a5fc1

Please sign in to comment.