1
0
Fork 0
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:
blckmn 2017-01-09 22:43:49 +11:00
parent b7940f19e2
commit ccd07cf03e
6 changed files with 23 additions and 44 deletions

View file

@ -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