mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 12:53:29 +00:00
example: Updated https_request example to fail when time is not synced.
Also added additional server for syncing time
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -20,7 +20,7 @@ esp_err_t update_time_from_nvs(void);
|
||||
* @brief Fetch the current time from SNTP and stores it in NVS.
|
||||
*
|
||||
*/
|
||||
void fetch_and_store_time_in_nvs(void*);
|
||||
esp_err_t fetch_and_store_time_in_nvs(void*);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user