From bd281564b3be6bcdc4ac017f27a457c4dba05184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Tue, 2 Jan 2018 12:08:02 +0100 Subject: [PATCH] update some timing --- platform/status_led.c | 2 +- platform/status_led.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/platform/status_led.c b/platform/status_led.c index 7cdd9a8..061cf37 100644 --- a/platform/status_led.c +++ b/platform/status_led.c @@ -16,7 +16,7 @@ static uint32_t effect_time = 0; // counter of idle ticks since last indicator // used to allow or disallow heartbeat blink (to avoid interference) static uint32_t indicator_idle_ms = 0; -#define IDLE_FOR_HEARTBEAT_MS 2500 +#define IDLE_FOR_HEARTBEAT_MS 3000 #define HB_MAX_SAFE_IVAL 500 static uint32_t hb_elapsed = 0; diff --git a/platform/status_led.h b/platform/status_led.h index a8e4b99..5e35151 100644 --- a/platform/status_led.h +++ b/platform/status_led.h @@ -16,8 +16,7 @@ enum GEX_StatusIndicator { STATUS_DISK_BUSY, STATUS_DISK_ATTACHED, STATUS_DISK_REMOVED, - STATUS_HEARTBEAT, - _INDICATOR_COUNT + STATUS_HEARTBEAT }; /**