1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Merge pull request #1490 from blckmn/dma_owner

Adding DMA ownership for ADC, LED STRIP, USART and MOTOR
This commit is contained in:
borisbstyle 2016-11-09 09:59:07 +01:00 committed by GitHub
commit d2530da874
23 changed files with 212 additions and 90 deletions

View file

@ -235,10 +235,6 @@ void init(void)
timerInit(); // timer must be initialized before any channel is allocated
#if !defined(USE_HAL_DRIVER)
dmaInit();
#endif
#if defined(AVOID_UART1_FOR_PWM_PPM)
serialInit(&masterConfig.serialConfig, feature(FEATURE_SOFTSERIAL),
feature(FEATURE_RX_PPM) || feature(FEATURE_RX_PARALLEL_PWM) ? SERIAL_PORT_USART1 : SERIAL_PORT_NONE);