mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Merge pull request #7707 from mikeller/fix_hal_dshot
Fixed Dshot for hal (F7).
This commit is contained in:
commit
f9f14cafea
1 changed files with 1 additions and 0 deletions
|
@ -229,6 +229,7 @@ void pwmDshotMotorHardwareConfig(const timerHardware_t *timerHardware, uint8_t m
|
||||||
motor->useProshot = (pwmProtocolType == PWM_TYPE_PROSHOT1000);
|
motor->useProshot = (pwmProtocolType == PWM_TYPE_PROSHOT1000);
|
||||||
#endif
|
#endif
|
||||||
motor->timerHardware = timerHardware;
|
motor->timerHardware = timerHardware;
|
||||||
|
motor->dmaRef = dmaRef;
|
||||||
|
|
||||||
TIM_TypeDef *timer = timerHardware->tim;
|
TIM_TypeDef *timer = timerHardware->tim;
|
||||||
const IO_t motorIO = IOGetByTag(timerHardware->tag);
|
const IO_t motorIO = IOGetByTag(timerHardware->tag);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue