mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-19 09:54:15 +01:00
Fixed PPM compile errors - you can now compile for PPM input if desired.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2818 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
c214833346
commit
578b779a76
@ -228,11 +228,11 @@ extern uint32_t pios_com_spektrum_id;
|
||||
//-------------------------
|
||||
// Receiver PPM input
|
||||
//-------------------------
|
||||
#define PIOS_PPM_GPIO_PORT PIOS_PWM_CH1_GPIO_PORT
|
||||
#define PIOS_PPM_GPIO_PIN PIOS_PWM_CH1_PIN
|
||||
#define PIOS_PPM_TIM_PORT PIOS_PWM_CH1_TIM_PORT
|
||||
#define PIOS_PPM_TIM_CHANNEL PIOS_PWM_CH1_CH
|
||||
#define PIOS_PPM_TIM_CCR PIOS_PWM_CH1_CCR
|
||||
#define PIOS_PPM_GPIO_PORT GPIOA
|
||||
#define PIOS_PPM_GPIO_PIN GPIO_Pin_9
|
||||
#define PIOS_PPM_TIM_PORT TIM1
|
||||
#define PIOS_PPM_TIM_CHANNEL TIM_Channel_2
|
||||
#define PIOS_PPM_TIM_CCR TIM_IT_CC2
|
||||
#define PIOS_PPM_TIM TIM1
|
||||
#define PIOS_PPM_TIM_IRQ TIM1_CC_IRQn
|
||||
#define PIOS_PPM_NUM_INPUTS 8 //Could be more if needed
|
||||
|
Loading…
x
Reference in New Issue
Block a user