From b2e7f63a7bfb18e67114ff654479beb4e56fc4c9 Mon Sep 17 00:00:00 2001 From: Sebastien Lorquet Date: Thu, 24 Mar 2016 08:18:30 -0600 Subject: [PATCH] Fix for bad type in stm32l4_spi.c --- arch/arm/src/stm32l4/stm32l4_spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/stm32l4/stm32l4_spi.c b/arch/arm/src/stm32l4/stm32l4_spi.c index d718d8cd560..86c7ddbc54a 100644 --- a/arch/arm/src/stm32l4/stm32l4_spi.c +++ b/arch/arm/src/stm32l4/stm32l4_spi.c @@ -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 */