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 Mar 31, 2022
1 parent 863a8ec commit 91b40bd
Showing 1 changed file with 2 additions and 2 deletions.
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 91b40bd

Please sign in to comment.