diff --git a/components/heartbeat/heartbeat.c b/components/heartbeat/heartbeat.c index 606af42..b36f5b5 100644 --- a/components/heartbeat/heartbeat.c +++ b/components/heartbeat/heartbeat.c @@ -3,7 +3,7 @@ #include "driver/gpio.h" #define HEARTBEAT_GPIO GPIO_NUM_5 -#define HEARTBEAT_PERIOD_MS 250 +#define HEARTBEAT_PERIOD_MS 1000 void heartbeat_task(void *pvParameter) { diff --git a/main/main.c b/main/main.c index b78399b..2cb6f07 100644 --- a/main/main.c +++ b/main/main.c @@ -1,5 +1,6 @@ // ESP components #include "freertos/FreeRTOS.h" +#include "freertos/task.h" #include "esp_system.h" #include "nvs_flash.h"