Add Include to access SDK function directly

Some function like the one to know the current mode are not in ESPWifi
class but directly available from SDK
This commit is contained in:
luc lebosse 2015-04-17 21:21:08 +08:00
parent 11516bedd0
commit f53b968690

View File

@ -22,6 +22,11 @@
#include "config.h"
#include "ESP8266WiFi.h"
#include "IPAddress.h"
extern "C" {
#include "user_interface.h"
}
//to get access to some function like
//wifi_get_opmode() in status
//no strtok so this is simplified version
//return number of part