[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5104] replaced overo_link. down with union Autopilo
From: |
antoine drouin |
Subject: |
[paparazzi-commits] [5104] replaced overo_link. down with union AutopilotMessage in the size of the DMA transfert - should be the same , i just think it improves legibility |
Date: |
Wed, 21 Jul 2010 22:32:18 +0000 |
Revision: 5104
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5104
Author: poine
Date: 2010-07-21 22:32:17 +0000 (Wed, 21 Jul 2010)
Log Message:
-----------
replaced overo_link.down with union AutopilotMessage in the size of the DMA
transfert - should be the same, i just think it improves legibility
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/lisa/arch/stm32/lisa_overo_link_arch.c
Modified: paparazzi3/trunk/sw/airborne/lisa/arch/stm32/lisa_overo_link_arch.c
===================================================================
--- paparazzi3/trunk/sw/airborne/lisa/arch/stm32/lisa_overo_link_arch.c
2010-07-21 22:06:12 UTC (rev 5103)
+++ paparazzi3/trunk/sw/airborne/lisa/arch/stm32/lisa_overo_link_arch.c
2010-07-21 22:32:17 UTC (rev 5104)
@@ -60,7 +60,7 @@
DMA_InitStructure.DMA_PeripheralBaseAddr = (uint32_t)(SPI1_BASE+0x0C);
DMA_InitStructure.DMA_MemoryBaseAddr = (uint32_t)overo_link.down.array;
DMA_InitStructure.DMA_DIR = DMA_DIR_PeripheralSRC;
- DMA_InitStructure.DMA_BufferSize = sizeof(overo_link.down);
+ DMA_InitStructure.DMA_BufferSize = sizeof(union AutopilotMessage);
DMA_InitStructure.DMA_PeripheralInc = DMA_PeripheralInc_Disable;
DMA_InitStructure.DMA_MemoryInc = DMA_MemoryInc_Enable;
DMA_InitStructure.DMA_PeripheralDataSize = DMA_PeripheralDataSize_Byte;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5104] replaced overo_link. down with union AutopilotMessage in the size of the DMA transfert - should be the same , i just think it improves legibility,
antoine drouin <=