aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/spi_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/spi_lld.h')
-rw-r--r--os/hal/platforms/STM32/spi_lld.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32/spi_lld.h b/os/hal/platforms/STM32/spi_lld.h
index fd91f6746..4989712a9 100644
--- a/os/hal/platforms/STM32/spi_lld.h
+++ b/os/hal/platforms/STM32/spi_lld.h
@@ -194,11 +194,11 @@ typedef struct {
/** @brief Pointer to the SPIx registers block.*/
SPI_TypeDef *spd_spi;
/** @brief Pointer to the receive DMA channel registers block.*/
- DMA_Channel_TypeDef *spd_dmarx;
+ stm32_dma_channel_t *spd_dmarx;
/** @brief Pointer to the transmit DMA channel registers block.*/
- DMA_Channel_TypeDef *spd_dmatx;
+ stm32_dma_channel_t *spd_dmatx;
/** @brief DMA priority bit mask.*/
- uint32_t spd_dmaprio;
+ uint32_t spd_dmaccr;
} SPIDriver;
/*===========================================================================*/