mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 15:25:36 +03:00
Multishot Implementation
This commit is contained in:
parent
6b8f4f1111
commit
ee76376005
6 changed files with 25 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue