[stm32] fix ACTUATORS_PWM_NB for fixedwings with USE_SERVOS_7AND8

This commit is contained in:
Felix Ruess
2012-08-29 23:59:14 +02:00
parent 5b7b37804a
commit 51fb61259c
+2 -3
View File
@@ -4,11 +4,10 @@
#include "std.h"
#define ACTUATORS_PWM_NB 6
extern int32_t actuators_pwm_values[ACTUATORS_PWM_NB];
#include "actuators_pwm_arch.h"
extern int32_t actuators_pwm_values[ACTUATORS_PWM_NB];
#define SERVOS_TICS_OF_USEC(_v) (_v)
#define Actuator(_x) actuators_pwm_values[_x]
//#define ChopServo(x,a,b) Chop(x, a, b)