From 5c20da2a34926a81b36e15abd7cb9c0ab0148c29 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 20 Oct 2014 15:12:59 -0600 Subject: [PATCH] stm32: rename spi frame format definition This renames the stm32 spi frame format definition to the short description name as well as the other cr2 register flags. Note! STM32_SPI3_FRF was never used by nuttx somewhere Signed-off-by: Marco Krahl --- arch/arm/src/stm32/chip/stm32_spi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/stm32/chip/stm32_spi.h b/arch/arm/src/stm32/chip/stm32_spi.h index d611cb1446..bdbabab334 100644 --- a/arch/arm/src/stm32/chip/stm32_spi.h +++ b/arch/arm/src/stm32/chip/stm32_spi.h @@ -149,7 +149,7 @@ #if defined(CONFIG_STM32_STM32F20XX) || defined(CONFIG_STM32_STM32F30XX) || \ defined(CONFIG_STM32_STM32F40XX) -# define STM32_SPI3_FRF (1 << 4) /* Bit 4: Frame format */ +# define SPI_CR2_FRF (1 << 4) /* Bit 4: Frame format */ #endif #define SPI_CR2_ERRIE (1 << 5) /* Bit 5: Error interrupt enable */