diff --git a/examples/chef/chef_config.py b/examples/chef/chef_config.py index 67269b74a4d117..f620d313ca1a2e 100644 --- a/examples/chef/chef_config.py +++ b/examples/chef/chef_config.py @@ -1,4 +1,3 @@ -import os # # USER DEFINED INFORMATION # diff --git a/examples/chef/esp32/main/main.cpp b/examples/chef/esp32/main/main.cpp index 589e3cc8ec51bd..9ef7a7bf24529b 100644 --- a/examples/chef/esp32/main/main.cpp +++ b/examples/chef/esp32/main/main.cpp @@ -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(); @@ -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(nullptr)); + chip::DeviceLayer::PlatformMgr().ScheduleWork(InitServer); PrintOnboardingCodes(chip::RendezvousInformationFlag(chip::RendezvousInformationFlag::kBLE)); #if CONFIG_HAVE_DISPLAY