mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-22 15:55:48 +03:00
Fixed Dshot for hal (F7).
This commit is contained in:
parent
a646c09c2c
commit
fe6583fa77
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ void pwmDshotMotorHardwareConfig(const timerHardware_t *timerHardware, uint8_t m
|
|||
|
||||
motorDmaOutput_t * const motor = &dmaMotors[motorIndex];
|
||||
motor->timerHardware = timerHardware;
|
||||
motor->dmaRef = dmaRef;
|
||||
|
||||
TIM_TypeDef *timer = timerHardware->tim;
|
||||
const IO_t motorIO = IOGetByTag(timerHardware->tag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue