mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
use snapdragon_pwm_out and change connector for RC
This commit is contained in:
committed by
Lorenz Meier
parent
90fe63bb53
commit
80e7475267
@@ -16,5 +16,5 @@ ekf2 start
|
|||||||
land_detector start multicopter
|
land_detector start multicopter
|
||||||
mc_pos_control start
|
mc_pos_control start
|
||||||
mc_att_control start
|
mc_att_control start
|
||||||
pwm_out_rc_in start -d /dev/tty-2
|
snapdragon_pwm_out start
|
||||||
spektrum_rc start
|
spektrum_rc start
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
* @file spektrum_rc.cpp
|
* @file spektrum_rc.cpp
|
||||||
*
|
*
|
||||||
* This is a driver for a Spektrum satellite receiver connected to a Snapdragon
|
* This is a driver for a Spektrum satellite receiver connected to a Snapdragon
|
||||||
* on the serial port. By default port J15 (next to USB) is used.
|
* on the serial port. By default port J12 (next to J13, power module side) is used.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <px4_tasks.h>
|
#include <px4_tasks.h>
|
||||||
@@ -49,8 +49,8 @@
|
|||||||
#include <uORB/uORB.h>
|
#include <uORB/uORB.h>
|
||||||
#include <uORB/topics/input_rc.h>
|
#include <uORB/topics/input_rc.h>
|
||||||
|
|
||||||
// Snapdraogon: use J15 (next to USB)
|
// Snapdraogon: use J12 (next to J13, power module side)
|
||||||
#define SPEKTRUM_UART_DEVICE_PATH "/dev/tty-1"
|
#define SPEKTRUM_UART_DEVICE_PATH "/dev/tty-3"
|
||||||
|
|
||||||
#define UNUSED(x) (void)(x)
|
#define UNUSED(x) (void)(x)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user