From 9761c64244c287941701327949f7087bd3ed2bb4 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 15 Jul 2018 11:52:25 +0200 Subject: [PATCH] Sphinx: Adjusted timing --- sphinx/sphinx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sphinx/sphinx.c b/sphinx/sphinx.c index 5f3e3f2..a549472 100644 --- a/sphinx/sphinx.c +++ b/sphinx/sphinx.c @@ -44,10 +44,10 @@ static byte debounce; #define DEBOUNCE_THRESHOLD 3 static byte pressed; static u16 press_timer; -#define LONG_PRESS 500 +#define LONG_PRESS 150 static byte second_timer; static byte unlocked; -#define UNLOCK_SECONDS 20 +#define UNLOCK_SECONDS 60 ISR(TIM0_COMPA_vect) { -- 2.39.2