Skip to content

Commit

Permalink
Fix dhcp_mode in STA_ADV_CFG.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cossid committed Nov 19, 2023
1 parent 017998f commit 7d41a8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cores/beken-72xx/arduino/libraries/WiFi/WiFi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ WiFiClass::WiFiClass() {

DATA->scanSem = xSemaphoreCreateBinary();
STA_CFG.dhcp_mode = DHCP_CLIENT;
STA_ADV_CFG.dhcp_mode = DHCP_CLIENT;
}

WiFiClass::~WiFiClass() {
Expand Down

0 comments on commit 7d41a8f

Please sign in to comment.