mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 09:13:32 +08:00
fmuv5:cr2 was written to cr1
This commit is contained in:
committed by
Lorenz Meier
parent
3eada2c3df
commit
cd7a57ca1b
@@ -156,7 +156,7 @@ __EXPORT void board_rc_input(bool invert_on)
|
||||
cr2 &= ~(USART_CR2_RXINV | USART_CR2_TXINV);
|
||||
}
|
||||
|
||||
putreg32(cr2, STM32_USART_CR1_OFFSET + RC_UXART_BASE);
|
||||
putreg32(cr2, STM32_USART_CR2_OFFSET + RC_UXART_BASE);
|
||||
putreg32(cr1, STM32_USART_CR1_OFFSET + RC_UXART_BASE);
|
||||
|
||||
leave_critical_section(irqstate);
|
||||
|
||||
Reference in New Issue
Block a user