mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-27 16:54:15 +01:00
Revert "REVONANO - Workaround for the SBUS issue (use oversample 8 instead of 16 to reduce the bitrate error)"
This reverts commit 109c21a8abf7175d57140adfabe517a1c9e0fb99.
This commit is contained in:
parent
03cef4ee89
commit
79b9caaf6e
@ -197,7 +197,6 @@ int32_t PIOS_USART_Init(uint32_t *usart_id, const struct pios_usart_cfg *cfg)
|
||||
PIOS_USART_SetCtrlLine((uint32_t)usart_dev, COM_CTRL_LINE_DTR_MASK, 0);
|
||||
}
|
||||
|
||||
USART_OverSampling8Cmd(usart_dev->cfg->regs, ENABLE);
|
||||
/* Configure the USART */
|
||||
USART_Init(usart_dev->cfg->regs, (USART_InitTypeDef *)&usart_dev->cfg->init);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user