freertos_apps
freertos_apps copied to clipboard
Added missing header files
error: implicit declaration of function 'vTaskDelete' [-Werror=implicit-function-declaration]
error: implicit declaration of function 'usleep'; did you mean 'fseek'? [-Werror=implicit-function-declaration] usleep(100000);
To resolve these errors header files were added to int_subscriber/app.c
#ifdef ESP_PLATFORM #include "freertos/FreeRTOS.h" #include "freertos/task.h" #endif
#include <unistd.h>
What about including it without the #ifdef ESP_PLATFORM and keeping those includes for all platforms?
yeah sure