nvs: Append _t to nvs_handle & nvs_open_mode types

Merges https://github.com/espressif/esp-idf/pull/3239/
This commit is contained in:
GOPTIONS\pfrost
2019-04-01 15:13:55 +01:00
committed by bot
parent e1a3dc50de
commit 897bb55482
13 changed files with 149 additions and 139 deletions
@@ -33,7 +33,7 @@ _Static_assert(sizeof(interface_key) / sizeof(char*) == TCPIP_ADAPTER_IF_MAX,
bool dhcp_ip_addr_restore(void *netif)
{
nvs_handle nvs;
nvs_handle_t nvs;
bool err = false;
struct netif *net = (struct netif *)netif;
struct dhcp *dhcp = netif_dhcp_data(net);
@@ -54,7 +54,7 @@ bool dhcp_ip_addr_restore(void *netif)
void dhcp_ip_addr_store(void *netif)
{
nvs_handle nvs;
nvs_handle_t nvs;
struct netif *net = (struct netif *)netif;
struct dhcp *dhcp = netif_dhcp_data(net);
uint32_t ip_addr = dhcp->offered_ip_addr.addr;
@@ -73,7 +73,7 @@ void dhcp_ip_addr_store(void *netif)
void dhcp_ip_addr_erase(void *netif)
{
nvs_handle nvs;
nvs_handle_t nvs;
struct netif *net = (struct netif *)netif;
esp_interface_t netif_id = tcpip_adapter_get_esp_if(net);