From ca31c1ce8947878a4458b61199fdd87ef2b04f69 Mon Sep 17 00:00:00 2001 From: kmitchel Date: Thu, 11 May 2017 06:24:39 -0400 Subject: [PATCH] Update target.h Fix serial port count for REVOLT target. --- src/main/target/REVO/target.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/target/REVO/target.h b/src/main/target/REVO/target.h index 979ca7fc0..0d7e5adef 100644 --- a/src/main/target/REVO/target.h +++ b/src/main/target/REVO/target.h @@ -199,7 +199,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