1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Cleanup Softserial/LedStrip timer clash checking. Move definitions of

led strip timer and softserial pwm ports/timers into target specific
files.
This commit is contained in:
Dominic Clifton 2014-10-20 20:57:16 +01:00
parent f9f6b05aac
commit 2d8f65448d
12 changed files with 64 additions and 60 deletions

View file

@ -49,6 +49,11 @@
#define USE_SOFTSERIAL1
#define SERIAL_PORT_COUNT 3
#define SOFTSERIAL_1_TIMER TIM3
#define SOFTSERIAL_1_TIMER_RX_HARDWARE 2 // PWM 3
#define SOFTSERIAL_1_TIMER_TX_HARDWARE 3 // PWM 4
#define USART3_RX_PIN Pin_11
#define USART3_TX_PIN Pin_10
#define USART3_GPIO GPIOB
@ -66,6 +71,8 @@
#define GPS
#define LED_STRIP
#define LED_STRIP_TIMER TIM3
#define TELEMETRY
#define SERIAL_RX
#define AUTOTUNE