From c8268cbfcf58cc634a105b1466f73cbd0a168f3f Mon Sep 17 00:00:00 2001 From: Juha Niskanen Date: Wed, 11 Dec 2019 12:06:03 +0000 Subject: [PATCH] Merged in juniskane/nuttx-4/Juha-Niskanen/remove-reference-to-nonexistent-config-m-1575888266268 (pull request #1093) Remove reference to nonexistent config macro. stm32l4_spi.h edited online with Bitbucket stm32l4_spi.h edited online with Bitbucket Approved-by: Gregory Nutt --- arch/arm/src/stm32l4/hardware/stm32l4_spi.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/arm/src/stm32l4/hardware/stm32l4_spi.h b/arch/arm/src/stm32l4/hardware/stm32l4_spi.h index 921aa4c3fc..b1694db202 100644 --- a/arch/arm/src/stm32l4/hardware/stm32l4_spi.h +++ b/arch/arm/src/stm32l4/hardware/stm32l4_spi.h @@ -49,11 +49,7 @@ /* Maximum allowed speed as per specifications for all SPIs */ -#if defined(CONFIG_STM32L4_STM32F40XX) -# define STM32L4_SPI_CLK_MAX 37500000UL -#else -# define STM32L4_SPI_CLK_MAX 40000000UL -#endif +#define STM32L4_SPI_CLK_MAX 40000000UL /* Register Offsets *****************************************************************/