From f8e0cccffa20293c1592c65765052bcfa9d38d94 Mon Sep 17 00:00:00 2001 From: Jinbuhm Kim Date: Fri, 15 Mar 2019 16:46:24 +0900 Subject: [PATCH 1/2] Add header file tp resolve the compile error : "'WiFi' was not declared in this scope" --- examples/ExampleMENU/apps.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/ExampleMENU/apps.ino b/examples/ExampleMENU/apps.ino index 5cdc8f0..f3ed66c 100644 --- a/examples/ExampleMENU/apps.ino +++ b/examples/ExampleMENU/apps.ino @@ -1,3 +1,5 @@ +#include + String getWiFiMac() { uint8_t baseMac[6]; esp_read_mac(baseMac, ESP_MAC_WIFI_STA); From 691e672eb8871007a64c753c945b648cea6ac7ec Mon Sep 17 00:00:00 2001 From: Jinbuhm Kim Date: Fri, 15 Mar 2019 16:49:15 +0900 Subject: [PATCH 2/2] Add comments --- examples/ExampleMENU/apps.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ExampleMENU/apps.ino b/examples/ExampleMENU/apps.ino index f3ed66c..1d86249 100644 --- a/examples/ExampleMENU/apps.ino +++ b/examples/ExampleMENU/apps.ino @@ -1,4 +1,4 @@ -#include +#include // Added to reslve compile error String getWiFiMac() { uint8_t baseMac[6];