Remove SoftSerial2 from X_RACERSPI

In the v3.x (SPI) version, one of the previously used soft serial ports have been sacrificed for SPI.
Soft serial 1 is available on PWM 5/6.
Tested with board v3.0.
This commit is contained in:
Gergely Szell 2016-07-29 10:20:49 +02:00 committed by Gergely Szell (sethyx)
parent 6ee1e93c53
commit 07cd37468c
1 changed files with 3 additions and 7 deletions

View File

@ -57,8 +57,7 @@
#define USE_UART2
#define USE_UART3
#define USE_SOFTSERIAL1
#define USE_SOFTSERIAL2
#define SERIAL_PORT_COUNT 5
#define SERIAL_PORT_COUNT 4
#define UART1_TX_PIN PA9
#define UART1_RX_PIN PA10
@ -70,11 +69,8 @@
#define UART3_RX_PIN PB11 // PB11 (AF7)
#define SOFTSERIAL_1_TIMER TIM3
#define SOFTSERIAL_1_TIMER_RX_HARDWARE 4 // PWM 5
#define SOFTSERIAL_1_TIMER_TX_HARDWARE 5 // PWM 6
#define SOFTSERIAL_2_TIMER TIM3
#define SOFTSERIAL_2_TIMER_RX_HARDWARE 6 // PWM 7
#define SOFTSERIAL_2_TIMER_TX_HARDWARE 7 // PWM 8
#define SOFTSERIAL_1_TIMER_RX_HARDWARE 6 // PWM 5
#define SOFTSERIAL_1_TIMER_TX_HARDWARE 7 // PWM 6
#define USE_I2C