mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 04:46:51 +08:00
[actuators] fix include in stm32 pwm driver
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
* STM32 PWM servos handling.
|
||||
*/
|
||||
|
||||
#include "actuators.h"
|
||||
#include "subsystems/actuators.h"
|
||||
#include "subsystems/actuators/actuators_pwm_arch.h"
|
||||
|
||||
#include <libopencm3/stm32/f1/gpio.h>
|
||||
|
||||
@@ -38,11 +38,6 @@
|
||||
#define ACTUATORS_PWM_NB 6
|
||||
#endif
|
||||
|
||||
///* Needs to be included after ACTUATORS_PWM_NB is defined!
|
||||
// * Otherwise ACTUATORS_PWM_NB is not declared in actuators_pwm.h
|
||||
// */
|
||||
//#include "subsystems/actuators/actuators_pwm.h"
|
||||
|
||||
extern int32_t actuators_pwm_values[ACTUATORS_PWM_NB];
|
||||
|
||||
extern void actuators_pwm_arch_init(void);
|
||||
|
||||
Reference in New Issue
Block a user