From 7f11c32dc0d590f696c1a4270d4ac8ab7c80ca79 Mon Sep 17 00:00:00 2001
From: Alberto Nidasio <alberto.nidasio@skywarder.eu>
Date: Thu, 25 Aug 2022 11:06:09 +0200
Subject: [PATCH] [DeathstackV3] Fixed expulsion sense input

---
 .../stm32f429zi_skyward_death_stack_v3/interfaces-impl/bsp.cpp  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_death_stack_v3/interfaces-impl/bsp.cpp b/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_death_stack_v3/interfaces-impl/bsp.cpp
index 369b9f40..e642dcc2 100644
--- a/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_death_stack_v3/interfaces-impl/bsp.cpp
+++ b/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_death_stack_v3/interfaces-impl/bsp.cpp
@@ -437,7 +437,7 @@ void IRQbspInit()
 
     expulsion::servo::mode(Mode::ALTERNATE);
     expulsion::servo::alternateFunction(2);
-    expulsion::sense::mode(Mode::INPUT_PULL_DOWN);
+    expulsion::sense::mode(Mode::INPUT_PULL_UP);
     expulsion::nosecone_detach::mode(Mode::INPUT);
 
     cutter::enable::mode(Mode::OUTPUT);
-- 
GitLab