1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-21 07:15:12 +03:00

Remove redundant init (done in pwrInit())

This commit is contained in:
Andre Bernet 2015-10-14 10:30:52 +04:00
parent 8976afe3bc
commit dad1a06344

View file

@ -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 ;