mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 17:29:08 +08:00
Build fix.
This commit is contained in:
parent
310d055e44
commit
4f4a3a48bf
@ -50,7 +50,7 @@
|
||||
#include <time.h>
|
||||
#include <arch/board/up_hrt.h>
|
||||
#include <arch/board/board.h>
|
||||
#include <arch/board/drv_pwm_servo.h>
|
||||
#include <drivers/drv_pwm_output.h>
|
||||
#include <nuttx/spi.h>
|
||||
#include "../mix_and_link/mix_and_link.h"
|
||||
#include "fixedwing_control.h"
|
||||
@ -687,7 +687,7 @@ int fixedwing_control_main(int argc, char *argv[])
|
||||
/* Servo setup */
|
||||
|
||||
int fd;
|
||||
servo_position_t data[PWM_SERVO_MAX_CHANNELS];
|
||||
servo_position_t data[PWM_OUTPUT_MAX_CHANNELS];
|
||||
|
||||
fd = open("/dev/pwm_servo", O_RDWR);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user