Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
humanoides
tools
stm32_libraries
Commits
cbc6cc15
Commit
cbc6cc15
authored
Apr 02, 2020
by
Sergi Hernandez
Browse files
Solved some minor errors.
parent
95fa931b
Changes
1
Hide whitespace changes
Inline
Side-by-side
f1/usart/src/usart3.c
View file @
cbc6cc15
...
...
@@ -191,7 +191,7 @@ void usart3_init(TComm *comm_dev,UART_InitTypeDef *conf,TUART_IRQ_Priorities *pr
UART_ENABLE_CLK
;
Uart3Handle
.
Instance
=
UART
3
;
Uart3Handle
.
Instance
=
UART
;
usart3_config
(
comm_dev
,
conf
);
if
(
comm_dev
->
use_dma
)
...
...
@@ -255,7 +255,7 @@ void usart3_config(TComm *comm_dev,UART_InitTypeDef *conf)
Uart3Handle
.
Init
.
StopBits
=
conf
->
StopBits
;
Uart3Handle
.
Init
.
Parity
=
conf
->
Parity
;
Uart3Handle
.
Init
.
Mode
=
conf
->
Mode
;
Uart3Handle
.
Init
.
HwFlowCt
r
l
=
conf
->
HwFlowCtl
;
Uart3Handle
.
Init
.
HwFlowCtl
=
conf
->
HwFlowCtl
;
Uart3Handle
.
Init
.
OverSampling
=
conf
->
OverSampling
;
HAL_UART_Init
(
&
Uart3Handle
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment