mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-16 22:21:36 +08:00
Updated PX4 use / API of low level GPIO and other hardware-centric system facilities
This commit is contained in:
@@ -104,8 +104,8 @@ interface_init(void)
|
||||
rx_dma = stm32_dmachannel(PX4FMU_SERIAL_RX_DMA);
|
||||
|
||||
/* configure pins for serial use */
|
||||
stm32_configgpio(PX4FMU_SERIAL_TX_GPIO);
|
||||
stm32_configgpio(PX4FMU_SERIAL_RX_GPIO);
|
||||
px4_arch_configgpio(PX4FMU_SERIAL_TX_GPIO);
|
||||
px4_arch_configgpio(PX4FMU_SERIAL_RX_GPIO);
|
||||
|
||||
/* reset and configure the UART */
|
||||
rCR1 = 0;
|
||||
|
||||
Reference in New Issue
Block a user