fix: simu sd detection (#3936)

This commit is contained in:
3djc
2023-08-15 10:19:21 +10:00
committed by GitHub
parent b8300c7f8a
commit 1177891750
+4
View File
@@ -592,7 +592,11 @@ void sdDone()
uint32_t sdMounted()
{
#if defined(SIMU)
return true;
#else
return _g_FATFS_init && (g_FATFS_Obj.fs_type != 0);
#endif
}