1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 06:45:16 +03:00

Oneshot42 Implementation

This commit is contained in:
borisbstyle 2016-02-22 15:13:36 +01:00
parent e561ec3cb7
commit 6b8f4f1111
7 changed files with 33 additions and 11 deletions

View file

@ -36,10 +36,9 @@
#define MAX_INPUTS 8
#define PWM_TIMER_MHZ 1
#define ONESHOT125_TIMER_MHZ 8
#define ONESHOT125_TIMER_MHZ 24
#define PWM_BRUSHED_TIMER_MHZ 8
typedef struct sonarGPIOConfig_s {
GPIO_TypeDef *gpio;
uint16_t triggerPin;
@ -61,6 +60,7 @@ typedef struct drv_pwm_config_s {
bool useVbat;
bool useOneshot;
bool useFastPWM;
bool useOneshot42;
bool useSoftSerial;
bool useLEDStrip;
#ifdef SONAR