mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-29 11:40:28 +08:00
Enable serial for RC input
This commit is contained in:
1 parent
63275ef92f
commit
957b01a8eb
1 file changed
+3
@@ -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