Update target.h

Make changes recommended by mikeller.
This commit is contained in:
kmitchel 2017-05-10 22:55:48 -04:00 committed by GitHub
parent 65fdd805e3
commit f2cab20e95
1 changed files with 6 additions and 3 deletions

View File

@ -29,9 +29,6 @@
#define TARGET_BOARD_IDENTIFIER "RVLT" #define TARGET_BOARD_IDENTIFIER "RVLT"
#define USBD_PRODUCT_STRING "Revolt" #define USBD_PRODUCT_STRING "Revolt"
#define TARGET_DEFAULT_MIXER MIXER_QUADX_1234 #define TARGET_DEFAULT_MIXER MIXER_QUADX_1234
#define USE_UART4
#define UART4_RX_PIN PA1
#define UART4_TX_PIN PA0
#elif defined(SOULF4) #elif defined(SOULF4)
#define TARGET_BOARD_IDENTIFIER "SOUL" #define TARGET_BOARD_IDENTIFIER "SOUL"
@ -195,6 +192,12 @@
#define UART3_RX_PIN PB11 #define UART3_RX_PIN PB11
#define UART3_TX_PIN PB10 #define UART3_TX_PIN PB10
#if defined(REVOLT)
#define USE_UART4
#define UART4_RX_PIN PA1
#define UART4_TX_PIN PA0
#endif // REVOLT
#define USE_UART6 #define USE_UART6
#define UART6_RX_PIN PC7 #define UART6_RX_PIN PC7
#define UART6_TX_PIN PC6 #define UART6_TX_PIN PC6