Skip to content

Commit fa6d2ba

Browse files
committed
[fix] 修正 wifi 启动会导致触发断言的问题
1 parent 6388d8c commit fa6d2ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/drivers/drv_sdio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@ int rt_hw_sdio_init(void)
493493
LOG_E("host2 create fail");
494494
return RT_NULL;
495495
}
496+
/* wifi auto change */
497+
mmcsd_change(host2);
496498
#endif
497499
mmcsd_mutex = rt_mutex_create("mmutex", RT_IPC_FLAG_FIFO);
498500
if (mmcsd_mutex == RT_NULL)

0 commit comments

Comments
 (0)