Browse Source

bug fix

When detecting all SDIO devices fails, it is also necessary to return information
xiaoguang_ma 2 years ago
parent
commit
80f495de4a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      components/drivers/sdio/mmcsd_core.c

+ 1 - 0
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
             {