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

This commit is contained in:
David Cermak
2023-10-27 09:28:20 +02:00
parent 3d37631967
commit 6077c3f70c

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");