Merge branch 'fix/netif_sntp_examples_v5.2' into 'release/v5.2'

fix(examples): Fix usage of SNTP netif API in examples (v5.2)

See merge request espressif/esp-idf!26916
This commit is contained in:
Mahavir Jain 2023-11-06 11:06:05 +08:00
commit 6e2c0de765

View File

@ -87,7 +87,7 @@ exit:
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");