ensure all timer channels are initialized when using dshot burst
This commit is contained in:
parent
fc8f9130e4
commit
e6a5dece85
|
@ -467,11 +467,9 @@ void pwmDshotMotorHardwareConfig(const timerHardware_t *timerHardware, uint8_t m
|
||||||
#ifdef USE_DSHOT_DMAR
|
#ifdef USE_DSHOT_DMAR
|
||||||
if (useBurstDshot) {
|
if (useBurstDshot) {
|
||||||
motor->timer->dmaBurstRef = dmaRef;
|
motor->timer->dmaBurstRef = dmaRef;
|
||||||
|
#ifdef USE_DSHOT_TELEMETRY
|
||||||
if (!configureTimer) {
|
motor->dmaRef = dmaRef;
|
||||||
motor->configured = true;
|
#endif
|
||||||
return;
|
|
||||||
}
|
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue