1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 22:35:23 +03:00
This commit is contained in:
Sami Korhonen 2017-08-31 21:01:36 +03:00
parent df6b2dc1be
commit f8469ae40e
7 changed files with 124 additions and 12 deletions

View file

@ -108,6 +108,9 @@ typedef enum {
typedef struct {
TIM_TypeDef *timer;
uint16_t timerDmaSources;
#ifdef USE_DSHOT_DMAR
uint32_t dmaBurstBuffer[DSHOT_DMA_BUFFER_SIZE * 4];
#endif
} motorDmaTimer_t;
typedef struct {
@ -126,6 +129,7 @@ typedef struct {
TIM_HandleTypeDef TimHandle;
DMA_HandleTypeDef hdma_tim;
uint16_t timerDmaIndex;
uint8_t timerIndex;
#endif
} motorDmaOutput_t;