1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

LP-480 gpsplatinum board_hw_defs cleanup

This commit is contained in:
Vladimir Zidar 2017-04-15 01:48:53 +02:00
parent 16020c1839
commit a6f7cc6cdf

View File

@ -268,21 +268,6 @@ static const struct pios_hmc5x83_cfg pios_mag_cfg = {
static const struct pios_usart_cfg pios_usart_generic_main_cfg = {
.regs = USART1,
.remap = GPIO_AF_1,
// .init = {
// .USART_BaudRate = 57600,
// .USART_WordLength = USART_WordLength_8b,
// .USART_Parity = USART_Parity_No,
// .USART_StopBits = USART_StopBits_1,
// .USART_HardwareFlowControl = USART_HardwareFlowControl_None,
// .USART_Mode = USART_Mode_Rx | USART_Mode_Tx,
// },
// .irq = {
// .init = {
// .NVIC_IRQChannel = USART1_IRQn,
// .NVIC_IRQChannelPriority = PIOS_IRQ_PRIO_MID,
// .NVIC_IRQChannelCmd = ENABLE,
// },
// },
.rx = {
.gpio = GPIOA,
.init = {