feat(nvs_flash): Modify for ESP8266

This commit is contained in:
Dong Heng
2021-07-23 17:21:22 +08:00
parent 97d0c2a4fb
commit 0b857076c8
16 changed files with 42 additions and 50 deletions

View File

@@ -31,7 +31,6 @@ static const char *interface_key[] = {"IF_STA", "IF_AP", "IF_ETH", "IF_TEST"};
_Static_assert(sizeof(interface_key) / sizeof(char*) == TCPIP_ADAPTER_IF_MAX,
"Number interface keys differs from number of interfaces");
typedef nvs_handle nvs_handle_t;
bool dhcp_ip_addr_restore(void *netif)
{
nvs_handle_t nvs;