mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
px4io-v2:Fixed GPIO_PPM_IN definition
This commit is contained in:
committed by
Lorenz Meier
parent
0d59e84953
commit
8cdde42e32
@@ -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: */
|
||||||
|
|||||||
Reference in New Issue
Block a user