From 2ae8d0b476561f9e9ef47e0f5b773db7230b8745 Mon Sep 17 00:00:00 2001
From: Matteo Pignataro <matteo.pignataro@skywarder.eu>
Date: Wed, 24 Aug 2022 15:18:44 +0200
Subject: [PATCH] [BSP] Added default low mosfet cam

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

diff --git a/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_death_stack_x/interfaces-impl/bsp.cpp b/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_death_stack_x/interfaces-impl/bsp.cpp
index 34eb213a..9e6e449f 100644
--- a/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_death_stack_x/interfaces-impl/bsp.cpp
+++ b/miosix/arch/cortexM4_stm32f4/stm32f429zi_skyward_death_stack_x/interfaces-impl/bsp.cpp
@@ -382,6 +382,7 @@ void IRQbspInit()
     timers::tim8ch2::alternateFunction(3);
 
     camMosfet::mode(Mode::OUTPUT);
+    camMosfet::low();
 
     using namespace sensors;
 
-- 
GitLab