mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 20:38:27 +08:00
[stm32] fix ACTUATORS_PWM_NB for fixedwings with USE_SERVOS_7AND8
This commit is contained in:
@@ -4,11 +4,10 @@
|
|||||||
|
|
||||||
#include "std.h"
|
#include "std.h"
|
||||||
|
|
||||||
#define ACTUATORS_PWM_NB 6
|
|
||||||
extern int32_t actuators_pwm_values[ACTUATORS_PWM_NB];
|
|
||||||
|
|
||||||
#include "actuators_pwm_arch.h"
|
#include "actuators_pwm_arch.h"
|
||||||
|
|
||||||
|
extern int32_t actuators_pwm_values[ACTUATORS_PWM_NB];
|
||||||
|
|
||||||
#define SERVOS_TICS_OF_USEC(_v) (_v)
|
#define SERVOS_TICS_OF_USEC(_v) (_v)
|
||||||
#define Actuator(_x) actuators_pwm_values[_x]
|
#define Actuator(_x) actuators_pwm_values[_x]
|
||||||
//#define ChopServo(x,a,b) Chop(x, a, b)
|
//#define ChopServo(x,a,b) Chop(x, a, b)
|
||||||
|
|||||||
Reference in New Issue
Block a user