Skip to content

Commit

Permalink
Merge pull request cleanflight#3071 from kmitchel/fix_revolt_uart4_wa…
Browse files Browse the repository at this point in the history
…rning

Fix serial port count for REVOLT target.
  • Loading branch information
AndersHoglund authored May 11, 2017
2 parents 681b5e7 + ca31c1c commit f550776
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/target/REVO/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f550776

Please sign in to comment.