fix: PWM gimbals initialisation and inversion (#3745)

* fix: PWM gimbals initialisation and inversion

* feat: add periph clock support in PWM stick driver
This commit is contained in:
Raphael Coeffic
2023-07-14 14:54:32 +10:00
committed by GitHub
parent c5aa250dd9
commit 1bb27e7011
17 changed files with 282 additions and 144 deletions
+2 -4
View File
@@ -24,6 +24,8 @@
#include "hal/switch_driver.h"
#include "hal/rotary_encoder.h"
#include "sticks_pwm_driver.h"
#include "board.h"
#include "boards/generic_stm32/module_ports.h"
#include "boards/generic_stm32/intmodule_heartbeat.h"
@@ -38,10 +40,6 @@
#include <string.h>
#if defined(PWM_STICKS)
#include "sticks_pwm_driver.h"
#endif
#if defined(RADIO_FAMILY_T16) || defined(PCBNV14)
#include "flysky_gimbal_driver.h"
#endif