We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82debed commit 6d506dcCopy full SHA for 6d506dc
bsp/stm32/stm32f407-rt-spark/board/ports/spi_flash_init.c
@@ -18,7 +18,7 @@
18
static int rt_hw_spi_flash_init(void)
19
{
20
__HAL_RCC_GPIOB_CLK_ENABLE();
21
- rt_hw_spi_device_attach("spi2", "spi20", GPIOB, GPIO_PIN_12);
+ rt_hw_spi_device_attach("spi2", "spi20", GET_PIN(B, 12));
22
23
if (RT_NULL == rt_sfud_flash_probe("W25Q64", "spi20"))
24
0 commit comments