Examples: Remove deprecated system_init() call
This commit is contained in:
parent
2bad1dd594
commit
f7af4ddc89
5 changed files with 0 additions and 5 deletions
|
@ -27,6 +27,5 @@ void hello_task(void *pvParameter)
|
||||||
void app_main()
|
void app_main()
|
||||||
{
|
{
|
||||||
nvs_flash_init();
|
nvs_flash_init();
|
||||||
system_init();
|
|
||||||
xTaskCreate(&hello_task, "hello_task", 2048, NULL, 5, NULL);
|
xTaskCreate(&hello_task, "hello_task", 2048, NULL, 5, NULL);
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,5 @@ void blink_task(void *pvParameter)
|
||||||
void app_main()
|
void app_main()
|
||||||
{
|
{
|
||||||
nvs_flash_init();
|
nvs_flash_init();
|
||||||
system_init();
|
|
||||||
xTaskCreate(&blink_task, "blink_task", 512, NULL, 5, NULL);
|
xTaskCreate(&blink_task, "blink_task", 512, NULL, 5, NULL);
|
||||||
}
|
}
|
||||||
|
|
|
@ -175,7 +175,6 @@ static void http_get_task(void *pvParameters)
|
||||||
void app_main()
|
void app_main()
|
||||||
{
|
{
|
||||||
nvs_flash_init();
|
nvs_flash_init();
|
||||||
system_init();
|
|
||||||
initialise_wifi();
|
initialise_wifi();
|
||||||
xTaskCreate(&http_get_task, "http_get_task", 2048, NULL, 5, NULL);
|
xTaskCreate(&http_get_task, "http_get_task", 2048, NULL, 5, NULL);
|
||||||
}
|
}
|
||||||
|
|
|
@ -369,7 +369,6 @@ static void https_get_task(void *pvParameters)
|
||||||
void app_main()
|
void app_main()
|
||||||
{
|
{
|
||||||
nvs_flash_init();
|
nvs_flash_init();
|
||||||
system_init();
|
|
||||||
initialise_wifi();
|
initialise_wifi();
|
||||||
xTaskCreate(&https_get_task, "https_get_task", 8192, NULL, 5, NULL);
|
xTaskCreate(&https_get_task, "https_get_task", 8192, NULL, 5, NULL);
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,6 @@ void app_main()
|
||||||
static void obtain_time(void)
|
static void obtain_time(void)
|
||||||
{
|
{
|
||||||
nvs_flash_init();
|
nvs_flash_init();
|
||||||
system_init();
|
|
||||||
initialise_wifi();
|
initialise_wifi();
|
||||||
xEventGroupWaitBits(wifi_event_group, CONNECTED_BIT,
|
xEventGroupWaitBits(wifi_event_group, CONNECTED_BIT,
|
||||||
false, true, portMAX_DELAY);
|
false, true, portMAX_DELAY);
|
||||||
|
|
Loading…
Reference in a new issue