1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

Standardised the use of dma descriptor (outside of int)

This commit is contained in:
blckmn 2017-01-09 22:58:50 +11:00
parent ccd07cf03e
commit b2fa0779ef
4 changed files with 16 additions and 11 deletions

View file

@ -87,11 +87,7 @@ typedef struct {
#else
uint8_t dmaBuffer[MOTOR_DMA_BUFFER_SIZE];
#endif
#ifdef STM32F3
dmaChannelDescriptor_t* dmaDescriptor;
#else
uint32_t dmaFlag;
#endif
#if defined(STM32F7)
TIM_HandleTypeDef TimHandle;
DMA_HandleTypeDef hdma_tim;