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:
px4dev
2013-07-05 20:37:05 -07:00
parent bcfb713fe9
commit 3c8c596ac7
2 changed files with 67 additions and 59 deletions
+1 -1
View File
@@ -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 |