1
0
Fork 0
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:
mikeller 2019-03-03 23:30:09 +13:00
parent a646c09c2c
commit fe6583fa77

View file

@ -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);