/* Private variables ---------------------------------------------------------*/
UART_HandleTypeDef huart2;
UART_HandleTypeDef huart4;
...
//#define UART_MODE 1
#define UART_MODE 2
...
#define USARTX USART4
#define huartX huart4
uint8_t UART_rxBuff...