example: Updated https_request example to fail when time is not synced.

Also added additional server for syncing time
This commit is contained in:
Harshit Malpani
2022-08-22 16:00:24 +05:30
parent cb48a7b9f9
commit eb47729301
4 changed files with 23 additions and 10 deletions

View File

@@ -280,7 +280,7 @@ void app_main(void)
}
const esp_timer_create_args_t nvs_update_timer_args = {
.callback = &fetch_and_store_time_in_nvs,
.callback = (void *)&fetch_and_store_time_in_nvs,
};
esp_timer_handle_t nvs_update_timer;