1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

add 1 more IPAddress constructor for IPv6 (#5551)

This commit is contained in:
david gauchard
2018-12-26 15:01:48 +01:00
committed by GitHub
parent 8049543e98
commit da7ffdaa28
3 changed files with 12 additions and 1 deletions

View File

@ -98,7 +98,11 @@ void setup() {
Serial.println();
Serial.println(ESP.getFullVersion());
Serial.printf("IPV6 is%s enabled\n", LWIP_IPV6 ? emptyString.c_str() : " NOT");
#if LWIP_IPV6
Serial.printf("IPV6 is enabled\n");
#else
Serial.printf("IPV6 is not enabled\n");
#endif
WiFi.mode(WIFI_STA);
WiFi.begin(STASSID, STAPSK);