mirror of
https://github.com/apache/nuttx.git
synced 2026-08-25 07:27:11 +00:00
Fixed config for D1 only
This commit is contained in:
parent
526e889c8e
commit
047ea89c30
1 changed files with 2 additions and 2 deletions
|
|
@ -3171,7 +3171,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno)
|
|||
*/
|
||||
#ifndef CONFIG_SDIO_MUXBUS
|
||||
stm32_configgpio(GPIO_SDMMC1_D0);
|
||||
#ifndef CONFIG_SDMMC_WIDTH_D1_ONLY
|
||||
#ifndef CONFIG_SDMMC1_WIDTH_D1_ONLY
|
||||
stm32_configgpio(GPIO_SDMMC1_D1);
|
||||
stm32_configgpio(GPIO_SDMMC1_D2);
|
||||
stm32_configgpio(GPIO_SDMMC1_D3);
|
||||
|
|
@ -3195,7 +3195,7 @@ FAR struct sdio_dev_s *sdio_initialize(int slotno)
|
|||
|
||||
#ifndef CONFIG_SDIO_MUXBUS
|
||||
stm32_configgpio(GPIO_SDMMC2_D0);
|
||||
#ifndef CONFIG_SDMMC_WIDTH_D1_ONLY
|
||||
#ifndef CONFIG_SDMMC2_WIDTH_D1_ONLY
|
||||
stm32_configgpio(GPIO_SDMMC2_D1);
|
||||
stm32_configgpio(GPIO_SDMMC2_D2);
|
||||
stm32_configgpio(GPIO_SDMMC2_D3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue