mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Enable only DMA for channels that are used.
This commit is contained in:
parent
a48956e8af
commit
05a8141139
4 changed files with 6 additions and 4 deletions
|
@ -107,6 +107,7 @@ typedef struct {
|
|||
const timerHardware_t *timerHardware;
|
||||
uint16_t value;
|
||||
uint16_t timerDmaSource;
|
||||
motorDmaTimer_t *timer;
|
||||
volatile bool requestTelemetry;
|
||||
#if defined(STM32F3) || defined(STM32F4) || defined(STM32F7)
|
||||
uint32_t dmaBuffer[DSHOT_DMA_BUFFER_SIZE];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue