px4io-v2:Fixed GPIO_PPM_IN definition

This commit is contained in:
David Sidrane
2017-03-21 10:19:01 -10:00
committed by Lorenz Meier
parent 0d59e84953
commit 8cdde42e32
+2 -2
View File
@@ -125,8 +125,8 @@
*/ */
#define HRT_TIMER 1 /* use timer1 for the HRT */ #define HRT_TIMER 1 /* use timer1 for the HRT */
#define HRT_TIMER_CHANNEL 2 /* use capture/compare channel 2 */ #define HRT_TIMER_CHANNEL 2 /* use capture/compare channel 2 */
#define HRT_PPM_CHANNEL 1 /* use capture/compare channel 1 */ #define HRT_PPM_CHANNEL 1 /* use capture/compare channel 1 PA8 */
#define GPIO_PPM_IN (GPIO_ALT|GPIO_CNF_INPULLUP|GPIO_PORTE|GPIO_PIN9) #define GPIO_PPM_IN (GPIO_ALT|GPIO_CNF_INPULLUP|GPIO_PORTA|GPIO_PIN8)
/* LED definitions ******************************************************************/ /* LED definitions ******************************************************************/
/* PX4 has two LEDs that we will encode as: */ /* PX4 has two LEDs that we will encode as: */