Skip to content

Commit

Permalink
[BL602] Fix wifi dhcp failed (#21622)
Browse files Browse the repository at this point in the history
  • Loading branch information
jczhang777 authored and pull[bot] committed Aug 21, 2023
1 parent 258b133 commit fa3682c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion examples/lighting-app/bouffalolab/bl602/include/AppTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions examples/lighting-app/bouffalolab/bl602/src/AppTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ CHIP_ERROR AppTask::Init()
PrintOnboardingCodes(chip::RendezvousInformationFlag(chip::RendezvousInformationFlag::kBLE));

InitButtons();
StoreWifiConfig();

#if PW_RPC_ENABLED
chip::rpc::Init();
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit fa3682c

Please sign in to comment.