diff --git a/sw/airborne/arch/stm32/servos_direct_hw.h b/sw/airborne/arch/stm32/servos_direct_hw.h index 96302e8ad3..f9eca30fd5 100644 --- a/sw/airborne/arch/stm32/servos_direct_hw.h +++ b/sw/airborne/arch/stm32/servos_direct_hw.h @@ -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)