mirror of
https://github.com/opentx/opentx.git
synced 2025-07-21 15:25:17 +03:00
Remove redundant init (done in pwrInit())
This commit is contained in:
parent
8976afe3bc
commit
dad1a06344
1 changed files with 1 additions and 2 deletions
|
@ -40,13 +40,12 @@ extern Fifo<32> sbusFifo;
|
|||
|
||||
#define setupTrainerPulses() setupPulsesPPM(TRAINER_MODULE)
|
||||
|
||||
// Trainer PPM oputput PC9, Timer 3 channel 4, (Alternate Function 2)
|
||||
// Trainer PPM output PC9, Timer 3 channel 4, (Alternate Function 2)
|
||||
void init_trainer_ppm()
|
||||
{
|
||||
trainerPulsesData.ppm.ptr = trainerPulsesData.ppm.pulses;
|
||||
|
||||
configure_pins( TRAINER_GPIO_PIN_OUT, PIN_PERIPHERAL | PIN_PORTC | PIN_PER_2 | PIN_OS25) ;
|
||||
configure_pins( TRAINER_GPIO_PIN_DETECT, PIN_PORTA | PIN_INPUT ) ;
|
||||
|
||||
TRAINER_TIMER->CR1 &= ~TIM_CR1_CEN ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue