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:
parent
16020c1839
commit
a6f7cc6cdf
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user