From 6b392b75c7b68743be03de4ee47cd6d24d48b633 Mon Sep 17 00:00:00 2001 From: Matteo Pignataro <matteo.pignataro@skywarder.eu> Date: Fri, 30 Jun 2023 17:26:37 +0200 Subject: [PATCH] [Buzzer] Added pull down --- .../stm32f767zi_skyward_death_stack_v4/interfaces-impl/bsp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/miosix/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/interfaces-impl/bsp.cpp b/miosix/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/interfaces-impl/bsp.cpp index eead991b..cde42346 100644 --- a/miosix/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/interfaces-impl/bsp.cpp +++ b/miosix/arch/cortexM7_stm32f7/stm32f767zi_skyward_death_stack_v4/interfaces-impl/bsp.cpp @@ -348,6 +348,9 @@ void IRQbspInit() liftoff_detach::mode(Mode::INPUT); nosecone_detach::mode(Mode::INPUT); + using namespace actuators; + buzzer::mode(Mode::ALTERNATE_OD_PULL_DOWN); + DefaultConsole::instance().IRQset(intrusive_ref_ptr<Device>(new STM32Serial( defaultSerial, defaultSerialSpeed, STM32Serial::NOFLOWCTRL))); } -- GitLab