From e02d1a1a8f7d6e0a7b6bf003c7057de859f7a3d2 Mon Sep 17 00:00:00 2001 From: Brian Campuzano Date: Mon, 20 Feb 2017 23:21:52 -0800 Subject: [PATCH] Turned down heartbeat rate to keep from getting a headache --- components/heartbeat/heartbeat.c | 2 +- main/main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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"