diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-02 10:22:00 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-02 10:22:00 +0100 |
commit | 85651218e28968161890ddcae1c670f08774c285 (patch) | |
tree | 7177a0928bfd5d3a420cf0314447dbd3f00554f2 /src/drivers/boards/px4io-v2/board_config.h | |
parent | 1d9e8a7b721685b9290103d82db04f9b0a587d65 (diff) | |
download | px4-firmware-85651218e28968161890ddcae1c670f08774c285.tar.gz px4-firmware-85651218e28968161890ddcae1c670f08774c285.tar.bz2 px4-firmware-85651218e28968161890ddcae1c670f08774c285.zip |
FMU-inspired PPM config
Diffstat (limited to 'src/drivers/boards/px4io-v2/board_config.h')
-rw-r--r-- | src/drivers/boards/px4io-v2/board_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/boards/px4io-v2/board_config.h b/src/drivers/boards/px4io-v2/board_config.h index 4d41d0d07..3de6ddbd3 100644 --- a/src/drivers/boards/px4io-v2/board_config.h +++ b/src/drivers/boards/px4io-v2/board_config.h @@ -122,7 +122,7 @@ #define HRT_TIMER 1 /* use timer1 for the HRT */ #define HRT_TIMER_CHANNEL 2 /* use capture/compare channel 2 */ #define HRT_PPM_CHANNEL 1 /* use capture/compare channel 1 */ -#define GPIO_PPM_IN GPIO_TIM1_CH1IN +#define GPIO_PPM_IN (GPIO_ALT|GPIO_CNF_AFPU|GPIO_MODE_50MHz|GPIO_PORTE|GPIO_PIN9) /* LED definitions ******************************************************************/ /* PX4 has two LEDs that we will encode as: */ |