Skip to content

Commit fb6ad01

Browse files
committed
stm32/spi: Export SPI handles.
1 parent df3f3cf commit fb6ad01

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ports/stm32/spi.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,22 @@
4646
// SPI6_RX: DMA2_Stream6.CHANNEL_1
4747

4848
#if defined(MICROPY_HW_SPI1_SCK)
49-
static SPI_HandleTypeDef SPIHandle1 = {.Instance = NULL};
49+
SPI_HandleTypeDef SPIHandle1 = {.Instance = NULL};
5050
#endif
5151
#if defined(MICROPY_HW_SPI2_SCK)
52-
static SPI_HandleTypeDef SPIHandle2 = {.Instance = NULL};
52+
SPI_HandleTypeDef SPIHandle2 = {.Instance = NULL};
5353
#endif
5454
#if defined(MICROPY_HW_SPI3_SCK)
55-
static SPI_HandleTypeDef SPIHandle3 = {.Instance = NULL};
55+
SPI_HandleTypeDef SPIHandle3 = {.Instance = NULL};
5656
#endif
5757
#if defined(MICROPY_HW_SPI4_SCK)
58-
static SPI_HandleTypeDef SPIHandle4 = {.Instance = NULL};
58+
SPI_HandleTypeDef SPIHandle4 = {.Instance = NULL};
5959
#endif
6060
#if defined(MICROPY_HW_SPI5_SCK)
61-
static SPI_HandleTypeDef SPIHandle5 = {.Instance = NULL};
61+
SPI_HandleTypeDef SPIHandle5 = {.Instance = NULL};
6262
#endif
6363
#if defined(MICROPY_HW_SPI6_SCK)
64-
static SPI_HandleTypeDef SPIHandle6 = {.Instance = NULL};
64+
SPI_HandleTypeDef SPIHandle6 = {.Instance = NULL};
6565
#endif
6666
#if defined(MICROPY_HW_SUBGHZSPI_ID)
6767
static SPI_HandleTypeDef SPIHandleSubGhz = {.Instance = NULL};

0 commit comments

Comments
 (0)