diff options
Diffstat (limited to 'stm-init.c')
-rw-r--r-- | stm-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -87,7 +87,7 @@ static void MX_USART1_UART_Init(void) huart_mgmt.Init.StopBits = UART_STOPBITS_1; huart_mgmt.Init.Parity = UART_PARITY_NONE; huart_mgmt.Init.Mode = UART_MODE_TX_RX; - huart_mgmt.Init.HwFlowCtl = UART_HWCONTROL_NONE; + huart_mgmt.Init.HwFlowCtl = UART_HWCONTROL_RTS_CTS; //UART_HWCONTROL_NONE; huart_mgmt.Init.OverSampling = UART_OVERSAMPLING_16; if (HAL_UART_Init(&huart_mgmt) != HAL_OK) { |