Merge pull request #3071 from kmitchel/fix_revolt_uart4_warning

Fix serial port count for REVOLT target.
This commit is contained in:
Anders Höglund 2017-05-11 12:56:37 +02:00 committed by GitHub
commit f55077673d
1 changed files with 4 additions and 0 deletions

View File

@ -205,7 +205,11 @@
#define USE_SOFTSERIAL1
#define USE_SOFTSERIAL2
#if defined(REVOLT)
#define SERIAL_PORT_COUNT 7 //VCP, USART1, USART3, UART4, USART6, SOFTSERIAL x 2
#else
#define SERIAL_PORT_COUNT 6 //VCP, USART1, USART3, USART6, SOFTSERIAL x 2
#endif
#define USE_ESCSERIAL
#define ESCSERIAL_TIMER_TX_HARDWARE 0 // PWM 1