1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00

CC3D - Add sonar.

This also ensures that the PWM mapping does not use the sonar pins when
sonar is enabled in a board agnostic way.
Conflicts:
	src/main/config/config.c
	src/main/drivers/pwm_mapping.h
	src/main/main.c
	src/main/target/CC3D/target.h
This commit is contained in:
Dominic Clifton 2015-01-29 16:33:45 +01:00
parent a370d60595
commit 4ed6fdfea5
13 changed files with 91 additions and 34 deletions

View file

@ -60,7 +60,7 @@ typedef struct timerOvrHandlerRec_s {
typedef struct {
TIM_TypeDef *tim;
GPIO_TypeDef *gpio;
uint32_t pin;
uint16_t pin;
uint8_t channel;
uint8_t irq;
uint8_t outputEnable;