diff --git a/examples/lighting-app/bouffalolab/bl602/include/AppTask.h b/examples/lighting-app/bouffalolab/bl602/include/AppTask.h index aad7cd3ee585f3..097d040c55702c 100644 --- a/examples/lighting-app/bouffalolab/bl602/include/AppTask.h +++ b/examples/lighting-app/bouffalolab/bl602/include/AppTask.h @@ -71,7 +71,6 @@ class AppTask static void FactoryResetButtonEventHandler(void); static void LightingActionButtonEventHandler(void); static void InitButtons(void); - static void StoreWifiConfig(); void StartTimer(uint32_t aTimeoutMs); enum Function_t diff --git a/examples/lighting-app/bouffalolab/bl602/src/AppTask.cpp b/examples/lighting-app/bouffalolab/bl602/src/AppTask.cpp index d25c7d8d6b19d0..d2de4d9dcfa6f9 100644 --- a/examples/lighting-app/bouffalolab/bl602/src/AppTask.cpp +++ b/examples/lighting-app/bouffalolab/bl602/src/AppTask.cpp @@ -152,7 +152,6 @@ CHIP_ERROR AppTask::Init() PrintOnboardingCodes(chip::RendezvousInformationFlag(chip::RendezvousInformationFlag::kBLE)); InitButtons(); - StoreWifiConfig(); #if PW_RPC_ENABLED chip::rpc::Init(); @@ -556,11 +555,6 @@ void AppTask::InitButtons(void) Button_Configure_LightingActionEventHandler(&LightingActionButtonEventHandler); } -void AppTask::StoreWifiConfig(void) -{ - wifi_mgmr_scan(NULL, NULL); -} - void AppTask::LightStateUpdateEventHandler(void) { uint8_t onoff, level;