mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Merge pull request #3938 from mikeller/fix_dshot_command_all_motors
Enable only DMA for channels that are used.
This commit is contained in:
commit
624e9b64b5
4 changed files with 6 additions and 4 deletions
|
@ -115,6 +115,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