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

Cleanup CC3D softserial - it only has enough pins/timers for one port.

PR #124 incorrectly re-used the same timer hardware for the second port
which was bad.
This commit is contained in:
Dominic Clifton 2014-10-20 19:34:10 +01:00
parent b08f51d88c
commit 91c7407806
10 changed files with 37 additions and 41 deletions

View file

@ -46,6 +46,8 @@
#define USE_USART1
#define USE_USART3
#define USE_SOFTSERIAL1
#define SERIAL_PORT_COUNT 3
#define USART3_RX_PIN Pin_11
#define USART3_TX_PIN Pin_10
@ -53,9 +55,7 @@
#define USART3_APB1_PERIPHERALS RCC_APB1Periph_USART3
#define USART3_APB2_PERIPHERALS RCC_APB2Periph_GPIOB
#define USE_SOFT_SERIAL
#define SERIAL_PORT_COUNT 4
#define SOFT_SERIAL
#define USE_SPI
#define USE_SPI_DEVICE_1