From 1da32b67ffd26ef966d48145eefc7870d0feda34 Mon Sep 17 00:00:00 2001
From: Luca Erbetta <lucaerbetta105@gmail.com>
Date: Sat, 16 Nov 2019 13:49:49 +0100
Subject: [PATCH] [PinObs] Threshold back to 10

---
 src/boards/DeathStack/configs/PinObserverConfig.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/boards/DeathStack/configs/PinObserverConfig.h b/src/boards/DeathStack/configs/PinObserverConfig.h
index 266f2a5c..365c921c 100644
--- a/src/boards/DeathStack/configs/PinObserverConfig.h
+++ b/src/boards/DeathStack/configs/PinObserverConfig.h
@@ -41,7 +41,7 @@ static const PinObserver::Transition TRIGGER_LAUNCH_PIN =
 
 // How many consecutive times the launch pin should be detected as detached
 // before triggering a launch event.
-static const unsigned int THRESHOLD_LAUNCH_PIN = 5;
+static const unsigned int THRESHOLD_LAUNCH_PIN = 10;
 
 static const unsigned int PORT_NC_DETACH_PIN = GPIOB_BASE;
 static const unsigned char NUM_NC_DETACH_PIN = 7;
-- 
GitLab