Merge pull request #7707 from mikeller/fix_hal_dshot

Fixed Dshot for hal (F7).
This commit is contained in:
Michael Keller 2019-03-04 23:35:43 +13:00 committed by GitHub
commit f9f14cafea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -229,6 +229,7 @@ void pwmDshotMotorHardwareConfig(const timerHardware_t *timerHardware, uint8_t m
motor->useProshot = (pwmProtocolType == PWM_TYPE_PROSHOT1000);
#endif
motor->timerHardware = timerHardware;
motor->dmaRef = dmaRef;
TIM_TypeDef *timer = timerHardware->tim;
const IO_t motorIO = IOGetByTag(timerHardware->tag);