Skip to content

Commit

Permalink
Merge branch 'fix/netif_sntp_examples_v5.2' into 'release/v5.2'
Browse files Browse the repository at this point in the history
fix(examples): Fix usage of SNTP netif API in examples (v5.2)

See merge request espressif/esp-idf!26916
  • Loading branch information
mahavirj committed Nov 6, 2023
2 parents 5bf1070 + 6077c3f commit 6e2c0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/protocols/https_request/main/time_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ esp_err_t fetch_and_store_time_in_nvs(void *args)
if (my_handle != 0) {
nvs_close(my_handle);
}
esp_netif_deinit();
esp_netif_sntp_deinit();

if (err != ESP_OK) {
ESP_LOGE(TAG, "Error updating time in nvs");
Expand Down

0 comments on commit 6e2c0de

Please sign in to comment.