Skip to content

Commit 0c6995e

Browse files
committed
fix(wifi): Fix static IP handle
1 parent bb6cced commit 0c6995e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/wifi_handle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ void wifi_init(void) {
132132
tcpip_adapter_init();
133133

134134
#if (USE_STATIC_IP == 1)
135-
tcpip_adapter_dhcps_stop(TCPIP_ADAPTER_IF_STA);
135+
esp_netif_dhcpc_stop(TCPIP_ADAPTER_IF_STA);
136136

137137
tcpip_adapter_ip_info_t ip_info;
138138

0 commit comments

Comments
 (0)