Merge pull request #7573 from joelucid/bugfix_7548
Ensure all timer channels are initialized when using dshot burst #7548
This commit is contained in:
commit
fefa2a83e4
|
@ -467,11 +467,9 @@ void pwmDshotMotorHardwareConfig(const timerHardware_t *timerHardware, uint8_t m
|
|||
#ifdef USE_DSHOT_DMAR
|
||||
if (useBurstDshot) {
|
||||
motor->timer->dmaBurstRef = dmaRef;
|
||||
|
||||
if (!configureTimer) {
|
||||
motor->configured = true;
|
||||
return;
|
||||
}
|
||||
#ifdef USE_DSHOT_TELEMETRY
|
||||
motor->dmaRef = dmaRef;
|
||||
#endif
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue