mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-21 05:57:34 +08:00
Enable handling for short-packet reception on FMU using the line-idle interrupt from the UART. Enable short packets at both ends.
This commit is contained in:
@@ -269,7 +269,7 @@ rx_dma_callback(DMA_HANDLE handle, uint8_t status, void *arg)
|
||||
tx_dma,
|
||||
(uint32_t)&rDR,
|
||||
(uint32_t)&dma_packet,
|
||||
sizeof(dma_packet), /* XXX should be PKT_LENGTH() */
|
||||
PKT_SIZE(dma_packet),
|
||||
DMA_CCR_DIR |
|
||||
DMA_CCR_MINC |
|
||||
DMA_CCR_PSIZE_8BITS |
|
||||
|
||||
Reference in New Issue
Block a user