1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

Multishot Implementation

This commit is contained in:
borisbstyle 2016-02-23 04:15:12 +01:00
parent 6b8f4f1111
commit ee76376005
6 changed files with 25 additions and 2 deletions

View file

@ -38,6 +38,7 @@
#define PWM_TIMER_MHZ 1
#define ONESHOT125_TIMER_MHZ 24
#define PWM_BRUSHED_TIMER_MHZ 8
#define MULTISHOT_TIMER_MHZ 12
typedef struct sonarGPIOConfig_s {
GPIO_TypeDef *gpio;
@ -61,6 +62,7 @@ typedef struct drv_pwm_config_s {
bool useOneshot;
bool useFastPWM;
bool useOneshot42;
bool useMultiShot;
bool useSoftSerial;
bool useLEDStrip;
#ifdef SONAR