[DeviceDrivers] Fix missing mailbox after SDCard hot plug
This commit is contained in:
parent
049ed5047f
commit
d8bc33d70b
|
@ -655,6 +655,7 @@ void mmcsd_detect(void *param)
|
||||||
if (init_sd(host, ocr))
|
if (init_sd(host, ocr))
|
||||||
mmcsd_power_off(host);
|
mmcsd_power_off(host);
|
||||||
mmcsd_host_unlock(host);
|
mmcsd_host_unlock(host);
|
||||||
|
rt_mb_send(&mmcsd_hotpluge_mb, (rt_uint32_t)host);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue