Fix for bad type in stm32l4_spi.c

This commit is contained in:
Sebastien Lorquet 2016-03-24 08:18:30 -06:00 committed by Gregory Nutt
parent 35707e4d48
commit b2e7f63a7b

View File

@ -171,8 +171,8 @@ struct stm32l4_spidev_s
#ifdef CONFIG_STM32L4_SPI_DMA
volatile uint8_t rxresult; /* Result of the RX DMA */
volatile uint8_t txresult; /* Result of the RX DMA */
uint8_t rxch; /* The RX DMA channel number */
uint8_t txch; /* The TX DMA channel number */
uint16_t rxch; /* The RX DMA channel number */
uint16_t txch; /* The TX DMA channel number */
DMA_HANDLE rxdma; /* DMA channel handle for RX transfers */
DMA_HANDLE txdma; /* DMA channel handle for TX transfers */
sem_t rxsem; /* Wait for RX DMA to complete */