]> mj.ucw.cz Git - misc.git/commitdiff
Sphinx: Adjusted timing
authorMartin Mares <mj@ucw.cz>
Sun, 15 Jul 2018 09:52:25 +0000 (11:52 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 15 Jul 2018 09:52:25 +0000 (11:52 +0200)
sphinx/sphinx.c

index 5f3e3f2ddb99e462cc58660df6f3d5be59a2137b..a54947219a1459c4aa9c3df7a5f30b50d354e69d 100644 (file)
@@ -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)
 {