use snapdragon_pwm_out and change connector for RC

This commit is contained in:
ChristophTobler
2017-03-29 10:43:35 +02:00
committed by Lorenz Meier
parent 90fe63bb53
commit 80e7475267
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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
+3 -3
View File
@@ -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)