2016-09-25 19:17:59 +00:00
|
|
|
#include "freertos/FreeRTOS.h"
|
2017-02-21 07:21:52 +00:00
|
|
|
#include "freertos/task.h"
|
2017-02-21 07:41:59 +00:00
|
|
|
|
2016-09-25 19:17:59 +00:00
|
|
|
#include "esp_system.h"
|
|
|
|
#include "nvs_flash.h"
|
|
|
|
|
2017-02-21 07:06:41 +00:00
|
|
|
#include "heartbeat.h"
|
|
|
|
#include "limbo_wifi.h"
|
2016-09-25 19:17:59 +00:00
|
|
|
|
2016-11-13 23:30:39 +00:00
|
|
|
void app_main(void)
|
2016-09-25 19:17:59 +00:00
|
|
|
{
|
2017-02-21 06:35:55 +00:00
|
|
|
nvs_flash_init();
|
2017-02-21 07:06:41 +00:00
|
|
|
xTaskCreate(&heartbeat_task, "heartbeat_task", 512, NULL, 5, NULL);
|
2016-09-25 19:17:59 +00:00
|
|
|
|
2017-02-21 06:35:55 +00:00
|
|
|
limbo_wifi_init();
|
|
|
|
|
2016-09-25 19:17:59 +00:00
|
|
|
}
|
|
|
|
|