From 0ca96677ecb3632297f69b10f0828e3c1cf9c5b5 Mon Sep 17 00:00:00 2001 From: Matteo Pignataro <matteo.pignataro@skywarder.eu> Date: Thu, 20 Jul 2023 11:18:05 +0200 Subject: [PATCH] [Buzzer] Corrected pull down and added DIO0 --- .../interfaces-impl/bsp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 cde42346..3ef9a253 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 @@ -333,7 +333,7 @@ void IRQbspInit() using namespace radio; cs::mode(Mode::OUTPUT); cs::getPin().high(); - // dio0::mode(Mode::INPUT); + dio0::mode(Mode::INPUT); dio1::mode(Mode::INPUT); dio3::mode(Mode::INPUT); tx_enable::mode(Mode::OUTPUT); @@ -349,7 +349,7 @@ void IRQbspInit() nosecone_detach::mode(Mode::INPUT); using namespace actuators; - buzzer::mode(Mode::ALTERNATE_OD_PULL_DOWN); + buzzer::mode(Mode::ALTERNATE_PULL_DOWN); DefaultConsole::instance().IRQset(intrusive_ref_ptr<Device>(new STM32Serial( defaultSerial, defaultSerialSpeed, STM32Serial::NOFLOWCTRL))); -- GitLab