Skip to content

Commit f2ad887

Browse files
committed
fixes wifi_config.h for all SoCs
1 parent 3512ad3 commit f2ad887

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

cores/esp32/IPAddress.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,4 +122,4 @@ bool IPAddress::fromString(const char *address)
122122
}
123123

124124
// declared one time - as external in IPAddress.h
125-
IPAddress INADDR_NONE(0, 0, 0, 0);
125+
IPAddress INADDR_NONE(0, 0, 0, 0);

cores/esp32/IPAddress.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ class IPAddress: public Printable
9393

9494
// changed to extern because const declaration creates copies in BSS of INADDR_NONE for each CPP unit that includes it
9595
extern IPAddress INADDR_NONE;
96-
#endif
96+
#endif

tools/sdk/esp32/include/wifi_provisioning/include/wifi_provisioning/wifi_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#ifndef _WIFI_PROV_CONFIG_H_
1616
#define _WIFI_PROV_CONFIG_H_
1717

18-
#include <lwip/inet.h>
18+
#include <lwip/ip4_addr.h>
1919

2020
#ifdef __cplusplus
2121
extern "C" {

tools/sdk/esp32c3/include/wifi_provisioning/include/wifi_provisioning/wifi_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#ifndef _WIFI_PROV_CONFIG_H_
1616
#define _WIFI_PROV_CONFIG_H_
1717

18-
#include <lwip/inet.h>
18+
#include <lwip/ip4_addr.h>
1919

2020
#ifdef __cplusplus
2121
extern "C" {

tools/sdk/esp32s2/include/wifi_provisioning/include/wifi_provisioning/wifi_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#ifndef _WIFI_PROV_CONFIG_H_
1616
#define _WIFI_PROV_CONFIG_H_
1717

18-
#include <lwip/inet.h>
18+
#include <lwip/ip4_addr.h>
1919

2020
#ifdef __cplusplus
2121
extern "C" {

tools/sdk/esp32s3/include/wifi_provisioning/include/wifi_provisioning/wifi_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#ifndef _WIFI_PROV_CONFIG_H_
1616
#define _WIFI_PROV_CONFIG_H_
1717

18-
#include <lwip/inet.h>
18+
#include <lwip/ip4_addr.h>
1919

2020
#ifdef __cplusplus
2121
extern "C" {

0 commit comments

Comments
 (0)