Skip to content

Commit

Permalink
fixes wifi_config.h for all SoCs
Browse files Browse the repository at this point in the history
  • Loading branch information
SuGlider committed Apr 29, 2022
1 parent 3512ad3 commit f2ad887
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cores/esp32/IPAddress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ bool IPAddress::fromString(const char *address)
}

// declared one time - as external in IPAddress.h
IPAddress INADDR_NONE(0, 0, 0, 0);
IPAddress INADDR_NONE(0, 0, 0, 0);
2 changes: 1 addition & 1 deletion cores/esp32/IPAddress.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ class IPAddress: public Printable

// changed to extern because const declaration creates copies in BSS of INADDR_NONE for each CPP unit that includes it
extern IPAddress INADDR_NONE;
#endif
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef _WIFI_PROV_CONFIG_H_
#define _WIFI_PROV_CONFIG_H_

#include <lwip/inet.h>
#include <lwip/ip4_addr.h>

#ifdef __cplusplus
extern "C" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef _WIFI_PROV_CONFIG_H_
#define _WIFI_PROV_CONFIG_H_

#include <lwip/inet.h>
#include <lwip/ip4_addr.h>

#ifdef __cplusplus
extern "C" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef _WIFI_PROV_CONFIG_H_
#define _WIFI_PROV_CONFIG_H_

#include <lwip/inet.h>
#include <lwip/ip4_addr.h>

#ifdef __cplusplus
extern "C" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#ifndef _WIFI_PROV_CONFIG_H_
#define _WIFI_PROV_CONFIG_H_

#include <lwip/inet.h>
#include <lwip/ip4_addr.h>

#ifdef __cplusplus
extern "C" {
Expand Down

0 comments on commit f2ad887

Please sign in to comment.