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

[Actuators] Modified expulsion timer

parent 7ef13296
No related branches found
No related tags found
2 merge requests!39Draft: Compute unit v2,!31[Actuators] Modified expulsion timer
Pipeline #6728 passed
......@@ -301,8 +301,8 @@ void IRQbspInit()
tim3ch2::alternateFunction(2);
tim1ch1::mode(Mode::ALTERNATE);
tim1ch1::alternateFunction(1);
tim1ch3::mode(Mode::ALTERNATE);
tim1ch3::alternateFunction(1);
tim12ch2::mode(Mode::ALTERNATE);
tim12ch2::alternateFunction(9);
using namespace sensors;
LSM6DSRX::cs::mode(Mode::OUTPUT);
......
......@@ -102,7 +102,7 @@ namespace timers
using tim3ch1 = Gpio<GPIOC_BASE, 6>; // Airbrakes servo - Servo1 Payload
using tim3ch2 = Gpio<GPIOC_BASE, 7>; // Auxiliary - Servo2 Payload
using tim1ch1 = Gpio<GPIOA_BASE, 8>; // Buzzer
using tim1ch3 = Gpio<GPIOB_BASE, 15>; // Expulsion
using tim12ch2 = Gpio<GPIOB_BASE, 15>; // Expulsion
} // namespace timers
} // namespace interfaces
......@@ -204,7 +204,7 @@ using tx_enable = Gpio<GPIOC_BASE, 1>;
namespace actuators
{
using airbrakes = interfaces::timers::tim3ch1;
using expulsion = interfaces::timers::tim1ch3;
using expulsion = interfaces::timers::tim12ch2;
using buzzer = interfaces::timers::tim1ch1;
using parafoil_servo1 = interfaces::timers::tim3ch1;
using parafoil_servo2 = interfaces::timers::tim3ch2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment