aboutsummaryrefslogtreecommitdiff
path: root/stm32f091/setup.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-26 15:51:18 +0200
committerlonkaars <loek@pipeframe.xyz>2022-10-26 15:51:18 +0200
commite2ae9e96ba05baa389ebc49a65a941bada87e3aa (patch)
treeabf2df32e15d5cf7adfb4caaa8bb99f59abf9d7b /stm32f091/setup.c
parentfbd5ed29043c4094f1209ec8935a577f5ce9e7a6 (diff)
dma write working
Diffstat (limited to 'stm32f091/setup.c')
-rw-r--r--stm32f091/setup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stm32f091/setup.c b/stm32f091/setup.c
index 63efd37..39cff07 100644
--- a/stm32f091/setup.c
+++ b/stm32f091/setup.c
@@ -132,7 +132,6 @@ static void ws_io_usart1_setup() {
if (HAL_UART_Init(&huart1) != HAL_OK)
return ws_setup_error_handler();
- HAL_UART_Receive_DMA(&huart1, (uint8_t*) g_ws_esp8266_dma_rx_buffer, WS_DMA_RX_BUFFER_SIZE);
__HAL_DMA_DISABLE_IT(&hdma_usart1_rx, DMA_IT_HT);
}