snikeguo commented on issue #16400: URL: https://github.com/apache/nuttx/issues/16400#issuecomment-2888237447
``` static sdio_capset_t stm32_capabilities(struct sdio_dev_s *dev) { struct stm32_dev_s *priv = (struct stm32_dev_s *)dev; sdio_capset_t caps = 0; if (priv->onebit) { caps |= SDIO_CAPS_1BIT_ONLY; } else { caps |=SDIO_CAPS_4BIT_ONLY; //add this code } caps |= SDIO_CAPS_DMABEFOREWRITE; #if defined(CONFIG_STM32H7_SDMMC_IDMA) caps |= SDIO_CAPS_DMASUPPORTED; #endif return caps; } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org