mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
F3 and F7 updates to remove DSHOT interrupt.
This commit is contained in:
parent
b7940f19e2
commit
ccd07cf03e
6 changed files with 23 additions and 44 deletions
|
@ -192,8 +192,7 @@ void pwmDigitalMotorHardwareConfig(const timerHardware_t *timerHardware, uint8_t
|
|||
|
||||
DMA_Init(stream, &DMA_InitStructure);
|
||||
|
||||
motor->dmaFlag = dmaFlag_IT_TCIF(timerHardware->dmaStream);
|
||||
DMA_ClearITPendingBit(stream, motor->dmaFlag);
|
||||
motor->dmaFlag = dmaFlag_IT_TCIF(stream);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue