stm32: Minor indention change to spi.c

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-02-12 17:31:18 -05:00
parent 5db0b3d474
commit 6698b249ce
1 changed files with 10 additions and 10 deletions

View File

@ -20,20 +20,20 @@ DECL_CONSTANT_STR("BUS_PINS_spi2", "PB14,PB15,PB13");
DECL_ENUMERATION("spi_bus", "spi1", 1); DECL_ENUMERATION("spi_bus", "spi1", 1);
DECL_CONSTANT_STR("BUS_PINS_spi1", "PA6,PA7,PA5"); DECL_CONSTANT_STR("BUS_PINS_spi1", "PA6,PA7,PA5");
#if CONFIG_MACH_STM32F0 || CONFIG_MACH_STM32F4 #if CONFIG_MACH_STM32F0 || CONFIG_MACH_STM32F4
DECL_ENUMERATION("spi_bus", "spi2a", 2); DECL_ENUMERATION("spi_bus", "spi2a", 2);
DECL_CONSTANT_STR("BUS_PINS_spi2a", "PC2,PC3,PB10"); DECL_CONSTANT_STR("BUS_PINS_spi2a", "PC2,PC3,PB10");
DECL_ENUMERATION("spi_bus", "spi1a", 3); DECL_ENUMERATION("spi_bus", "spi1a", 3);
DECL_CONSTANT_STR("BUS_PINS_spi1a", "PB4,PB5,PB3"); DECL_CONSTANT_STR("BUS_PINS_spi1a", "PB4,PB5,PB3");
#endif #endif
#ifdef SPI3 #ifdef SPI3
DECL_ENUMERATION("spi_bus", "spi3", 4); DECL_ENUMERATION("spi_bus", "spi3", 4);
DECL_CONSTANT_STR("BUS_PINS_spi3", "PB4,PB5,PB3"); DECL_CONSTANT_STR("BUS_PINS_spi3", "PB4,PB5,PB3");
#if CONFIG_MACH_STM32F4 #if CONFIG_MACH_STM32F4
DECL_ENUMERATION("spi_bus", "spi3a", 5); DECL_ENUMERATION("spi_bus", "spi3a", 5);
DECL_CONSTANT_STR("BUS_PINS_spi3a", "PC11,PC12,PC10"); DECL_CONSTANT_STR("BUS_PINS_spi3a", "PC11,PC12,PC10");
#ifdef SPI4 #ifdef SPI4
DECL_ENUMERATION("spi_bus", "spi4", 6); DECL_ENUMERATION("spi_bus", "spi4", 6);
DECL_CONSTANT_STR("BUS_PINS_spi4", "PE13,PE14,PE12"); DECL_CONSTANT_STR("BUS_PINS_spi4", "PE13,PE14,PE12");
#endif #endif
#endif #endif
#endif #endif