New partitions (#192)

* Add new partition scheme

* Init NVS early, so it can be used without BT or WiFi
This commit is contained in:
Me No Dev
2017-02-10 14:11:24 +02:00
committed by GitHub
parent 1f0df1ef97
commit fb8fe671d6
7 changed files with 13 additions and 12 deletions

View File

@ -253,7 +253,7 @@ const char * WiFiAPClass::softAPgetHostname()
*/
bool WiFiAPClass::softAPsetHostname(const char * hostname)
{
return tcpip_adapter_set_hostname(TCPIP_ADAPTER_IF_AP, hostname) == 0;
return tcpip_adapter_set_hostname(TCPIP_ADAPTER_IF_AP, hostname) == ESP_OK;
}
/**
@ -262,7 +262,7 @@ bool WiFiAPClass::softAPsetHostname(const char * hostname)
*/
bool WiFiAPClass::softAPenableIpV6()
{
return tcpip_adapter_create_ip6_linklocal(TCPIP_ADAPTER_IF_AP) == 0;
return tcpip_adapter_create_ip6_linklocal(TCPIP_ADAPTER_IF_AP) == ESP_OK;
}
/**