diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-02 10:45:00 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-02 10:45:00 +0100 |
commit | 445b9b2339fe701a4234765bf49022c7d812d922 (patch) | |
tree | 2ba8ef490470b4b6becd891e4aa69a188e5a05c4 /src/drivers/boards/px4io-v1 | |
parent | 85651218e28968161890ddcae1c670f08774c285 (diff) | |
download | px4-firmware-445b9b2339fe701a4234765bf49022c7d812d922.tar.gz px4-firmware-445b9b2339fe701a4234765bf49022c7d812d922.tar.bz2 px4-firmware-445b9b2339fe701a4234765bf49022c7d812d922.zip |
Final pin config for F1 PPM decoding, tested to be operational, pending in-application testing
Diffstat (limited to 'src/drivers/boards/px4io-v1')
-rw-r--r-- | src/drivers/boards/px4io-v1/board_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/boards/px4io-v1/board_config.h b/src/drivers/boards/px4io-v1/board_config.h index d136a3dd8..a5fbfc7fd 100644 --- a/src/drivers/boards/px4io-v1/board_config.h +++ b/src/drivers/boards/px4io-v1/board_config.h @@ -92,4 +92,4 @@ #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_ALT|GPIO_CNF_AFPU|GPIO_MODE_50MHz|GPIO_PORTE|GPIO_PIN9) +#define GPIO_PPM_IN (GPIO_ALT|GPIO_CNF_INPULLUP|GPIO_MODE_50MHz|GPIO_PORTE|GPIO_PIN9) |