mirror of https://github.com/rusefi/rusefi.git
USART_CR2_STOP1_BITS value is zero what's the fuzz?! (#5182)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
This commit is contained in:
parent
92c1b83ec3
commit
7cffef38e3
|
@ -47,7 +47,7 @@ void UartTsChannel::start(uint32_t baud) {
|
|||
.timeout_cb = NULL,
|
||||
.speed = baud,
|
||||
.cr1 = 0,
|
||||
.cr2 = 0/*USART_CR2_STOP1_BITS*/ | USART_CR2_LINEN,
|
||||
.cr2 = USART_CR2_STOP1_BITS | USART_CR2_LINEN,
|
||||
.cr3 = 0,
|
||||
.rxhalf_cb = NULL
|
||||
};
|
||||
|
|
|
@ -61,7 +61,7 @@ void UartDmaTsChannel::start(uint32_t baud) {
|
|||
.timeout_cb = tsRxIRQIdleHandler,
|
||||
.speed = baud,
|
||||
.cr1 = 0,
|
||||
.cr2 = 0/*USART_CR2_STOP1_BITS*/ | USART_CR2_LINEN,
|
||||
.cr2 = USART_CR2_STOP1_BITS | USART_CR2_LINEN,
|
||||
.cr3 = 0,
|
||||
.rxhalf_cb = tsRxIRQHalfHandler
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue