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:
parent
ccd07cf03e
commit
b2fa0779ef
4 changed files with 16 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue