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
+1 -1
View File
@@ -97,7 +97,7 @@ static void update_pulse_count()
const char* count_key = "count";
ESP_ERROR_CHECK( nvs_flash_init() );
nvs_handle handle;
nvs_handle_t handle;
ESP_ERROR_CHECK( nvs_open(namespace, NVS_READWRITE, &handle));
uint32_t pulse_count = 0;
esp_err_t err = nvs_get_u32(handle, count_key, &pulse_count);