xiaoxiang781216 commented on code in PR #19462:
URL: https://github.com/apache/nuttx/pull/19462#discussion_r3613996129
##########
arch/arm/src/stm32l4/stm32l4_sdmmc.c:
##########
@@ -1786,7 +1789,13 @@ static sdio_statset_t stm32_status(struct sdio_dev_s
*dev)
static void stm32_widebus(struct sdio_dev_s *dev, bool wide)
{
struct stm32_dev_s *priv = (struct stm32_dev_s *)dev;
+ uint32_t widbus = wide ? STM32_SDMMC_CLKCR_WIDBUS_D4 :
+ STM32_SDMMC_CLKCR_WIDBUS_D1;
+
priv->widebus = wide;
+
+ sdmmc_modifyreg32(priv, STM32_SDMMC_CLKCR_OFFSET,
Review Comment:
please squash your change into one patch, @13022591351
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]