Skip to content

Commit 0307b22

Browse files
authored
Merge pull request #181 from whj4674672/master
[fix] 修正 wifi 启动会导致触发断言的问题
2 parents 6388d8c + fa6d2ba commit 0307b22

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)