This commit is contained in:
Valerii Koval
2017-07-24 13:22:47 +03:00
parent 2ac6dd4d29
commit ee86953619
+2 -3
View File
@@ -21,12 +21,11 @@ void hello_task(void *pvParameter)
}
printf("Restarting now.\n");
fflush(stdout);
system_restart();
esp_restart();
}
void app_main()
{
nvs_flash_init();
system_init();
xTaskCreate(&hello_task, "hello_task", 2048, NULL, 5, NULL);
}
}