aboutsummaryrefslogtreecommitdiff
path: root/stm-init.c
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-05-15 10:42:23 +0200
committerFredrik Thulin <fredrik@thulin.net>2016-05-15 10:43:03 +0200
commit9b73356f2831800d2328827998e1e5b2a1994b68 (patch)
tree194357028a78b8ef92e4914074c2b3c51df5b17b /stm-init.c
parentcc07ee6bfcf4721254145ef388196be82532fd4a (diff)
add simple filetransfer poc
Diffstat (limited to 'stm-init.c')
-rw-r--r--stm-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm-init.c b/stm-init.c
index 809b976..2219d43 100644
--- a/stm-init.c
+++ b/stm-init.c
@@ -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) {