aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/stm32h7_spi.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-10-17 11:01:05 -0400
committerKevin O'Connor <kevin@koconnor.net>2022-10-17 11:01:05 -0400
commite4c8a24711b575e42e5a020c5684f61c19fac52d (patch)
tree729150885dbd37556542ede7a1c0f73466eb3813 /src/stm32/stm32h7_spi.c
parent638303b396e1d7b394a3e496a3526518eb8b28c0 (diff)
downloadkutter-e4c8a24711b575e42e5a020c5684f61c19fac52d.tar.gz
kutter-e4c8a24711b575e42e5a020c5684f61c19fac52d.tar.xz
kutter-e4c8a24711b575e42e5a020c5684f61c19fac52d.zip
stm32: Remove incorrect "spi3" definition from stm32h7
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/stm32h7_spi.c')
-rw-r--r--src/stm32/stm32h7_spi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/stm32/stm32h7_spi.c b/src/stm32/stm32h7_spi.c
index b6ade88f..ec69f851 100644
--- a/src/stm32/stm32h7_spi.c
+++ b/src/stm32/stm32h7_spi.c
@@ -29,9 +29,6 @@ DECL_CONSTANT_STR("BUS_PINS_spi2a", "PC2,PC3,PB10");
#endif
#ifdef SPI3
-DECL_ENUMERATION("spi_bus", "spi3", __COUNTER__);
-DECL_CONSTANT_STR("BUS_PINS_spi3", "PB4,PB5,PB3");
-
DECL_ENUMERATION("spi_bus", "spi3a", __COUNTER__);
DECL_CONSTANT_STR("BUS_PINS_spi3a", "PC11,PC12,PC10");
#endif
@@ -67,7 +64,6 @@ static const struct spi_info spi_bus[] = {
{ SPI2, GPIO('C', 2), GPIO('C', 3), GPIO('B', 10), GPIO_FUNCTION(5) },
#endif
#ifdef SPI3
- { SPI3, GPIO('B', 4), GPIO('B', 5), GPIO('B', 3), GPIO_FUNCTION(6) },
{ SPI3, GPIO('C', 11), GPIO('C', 12), GPIO('C', 10), GPIO_FUNCTION(6) },
#endif
#ifdef SPI4