Skip to content
Snippets Groups Projects
Commit 0ca96677 authored by Matteo Pignataro's avatar Matteo Pignataro
Browse files

[Buzzer] Corrected pull down and added DIO0

parent 81b3f57a
Branches
No related tags found
No related merge requests found
...@@ -333,7 +333,7 @@ void IRQbspInit() ...@@ -333,7 +333,7 @@ void IRQbspInit()
using namespace radio; using namespace radio;
cs::mode(Mode::OUTPUT); cs::mode(Mode::OUTPUT);
cs::getPin().high(); cs::getPin().high();
// dio0::mode(Mode::INPUT); dio0::mode(Mode::INPUT);
dio1::mode(Mode::INPUT); dio1::mode(Mode::INPUT);
dio3::mode(Mode::INPUT); dio3::mode(Mode::INPUT);
tx_enable::mode(Mode::OUTPUT); tx_enable::mode(Mode::OUTPUT);
...@@ -349,7 +349,7 @@ void IRQbspInit() ...@@ -349,7 +349,7 @@ void IRQbspInit()
nosecone_detach::mode(Mode::INPUT); nosecone_detach::mode(Mode::INPUT);
using namespace actuators; 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( DefaultConsole::instance().IRQset(intrusive_ref_ptr<Device>(new STM32Serial(
defaultSerial, defaultSerialSpeed, STM32Serial::NOFLOWCTRL))); defaultSerial, defaultSerialSpeed, STM32Serial::NOFLOWCTRL)));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment