main/main.c
void vSNTP_get_time_task(void *pvParameter)
{
    while (true)
    {    
        get_sntp_time(&strftime_buf[strftime_buf_size], &now, &timeinfo);
        vTaskDelay(1000 / portTICK_PERIOD_MS);
    }
}
/**
 * @brief SNTP get Time Synchronization task
 * 
 * @param pvParameter - FreeRTOS default void variable
 */
@brief SNTP get Time Synchronization task

@param pvParameter - FreeRTOS default void variable
@brief SNTP get Time Synchronization task @param pvParameter - FreeRTOS default void variable
void vSNTP_get_time_task(void *pvParameter)
{
    while (true)
    {    
        get_sntp_time(&strftime_buf[strftime_buf_size], &now, &timeinfo);
        vTaskDelay(1000 / portTICK_PERIOD_MS);
    }
}
void vSNTP_get_time_task ( void * pvParameter ) { while ( true ) { get_sntp_time ( & strftime_buf [ strftime_buf_size ] , & now , & timeinfo ) ; vTaskDelay ( 1000 / portTICK_PERIOD_MS ) ; } }
@brief SNTP get Time Synchronization task
@brief SNTP get Time Synchronization task