#include "esp_log.h" #include "system_init.h" #include "freertos/FreeRTOS.h" #include "freertos/projdefs.h" #include "freertos/task.h" #include "protocol.h" #include "sampler_task.h" #include "sender_task.h" static const char* TAG = "iot_fish"; extern "C" void app_main(void) { system_init(); sampler_task_start(); sender_task_start(); system_finalize(); }