1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Rework uart rx interrupt, DMA TX still not working

# Conflicts:
#	src/main/drivers/serial_uart_hal.c
#	src/main/io/gps.c
This commit is contained in:
Sami Korhonen 2016-10-08 22:06:07 +03:00
parent 4fd046470b
commit a70da02c58
5 changed files with 145 additions and 148 deletions

View file

@ -526,7 +526,7 @@ void init(void)
#if defined(LED_STRIP) && defined(WS2811_DMA_CHANNEL)
// Ensure the SPI Tx DMA doesn't overlap with the led strip
#ifdef STM32F4
#if defined(STM32F4) || defined(STM32F7)
sdcardUseDMA = !feature(FEATURE_LED_STRIP) || SDCARD_DMA_CHANNEL_TX != WS2811_DMA_STREAM;
#else
sdcardUseDMA = !feature(FEATURE_LED_STRIP) || SDCARD_DMA_CHANNEL_TX != WS2811_DMA_CHANNEL;