Wrong constant used in trainer driver (actually it is the same value)

This commit is contained in:
Bertrand Songis
2015-09-23 07:20:54 +02:00
parent a5f94e17eb
commit cdc66a7d01
+2 -1
View File
@@ -46,7 +46,8 @@ 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_IN, PIN_PORTA | PIN_INPUT ) ;
configure_pins( TRAINER_GPIO_PIN_DETECT, PIN_PORTA | PIN_INPUT ) ;
TRAINER_TIMER->CR1 &= ~TIM_CR1_CEN ;
// setupTrainerPulses() is also configuring registers,