mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 14:37:34 +08:00
Enable serial for RC input
This commit is contained in:
committed by
Lorenz Meier
parent
63275ef92f
commit
957b01a8eb
@@ -207,6 +207,9 @@ __BEGIN_DECLS
|
||||
*/
|
||||
#define GPIO_OTGFS_VBUS (GPIO_INPUT|GPIO_FLOAT|GPIO_SPEED_100MHz|GPIO_OPENDRAIN|GPIO_PORTA|GPIO_PIN9)
|
||||
|
||||
#define RC_SERIAL_PORT "/dev/ttyS5"
|
||||
#define INVERT_RC_INPUT(_s) while(0)
|
||||
|
||||
/* High-resolution timer
|
||||
*/
|
||||
#define HRT_TIMER 1 /* use timer1 for the HRT */
|
||||
|
||||
Reference in New Issue
Block a user