Fixes LwIP INADDR_NONE conflict (#7059)

This commit is contained in:
Rodrigo Garcia 2022-08-01 10:15:47 -03:00 committed by GitHub
parent 852ea39ab1
commit 60c4eea0d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ class WiFiAPClass
public:
bool softAP(const char* ssid, const char* passphrase = NULL, int channel = 1, int ssid_hidden = 0, int max_connection = 4, bool ftm_responder = false);
bool softAPConfig(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dhcp_lease_start = INADDR_NONE);
bool softAPConfig(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dhcp_lease_start = (uint32_t) 0);
bool softAPdisconnect(bool wifioff = false);
uint8_t softAPgetStationNum();