1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-26 15: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:
Alessio Morale 2015-05-28 02:16:08 +02:00
parent 03cef4ee89
commit 79b9caaf6e

View File

@ -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);