summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorxiaoguang_ma <[email protected]>2022-09-09 14:32:28 +0900
committerguo <[email protected]>2022-10-09 14:55:01 +0800
commit80f495de4acc169b173a5977831606b8b4cf4f5a (patch)
treefd329888d773e8ec0ca3d437037a4d1f683e993f /components
parent7c122cca25b701af446471c67fdcf07c2da9e318 (diff)
bug fix
When detecting all SDIO devices fails, it is also necessary to return information
Diffstat (limited to 'components')
-rw-r--r--components/drivers/sdio/mmcsd_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/sdio/mmcsd_core.c b/components/drivers/sdio/mmcsd_core.c
index b4e08e5583..234b1474a1 100644
--- a/components/drivers/sdio/mmcsd_core.c
+++ b/components/drivers/sdio/mmcsd_core.c
@@ -667,6 +667,7 @@ void mmcsd_detect(void *param)
continue;
}
mmcsd_host_unlock(host);
+ rt_mb_send(&mmcsd_hotpluge_mb, (rt_ubase_t)host);
}
else
{