提交 92ee14ff 编写于 作者: M mazhiyuan

update ff.c/h

上级 41af9449
......@@ -6997,3 +6997,18 @@ FRESULT f_setcp (
}
#endif /* FF_CODE_PAGE == 0 */
#include <rtthread.h>
#if FF_VOLUMES > 1
int elm_get_vol(FATFS *fat)
{
int vol;
for (vol = 0; vol < FF_VOLUMES; vol ++)
{
if (FatFs[vol] == fat) return vol;
}
return -1;
}
#endif
......@@ -26,6 +26,7 @@
extern "C" {
#endif
#include <rtthread.h>
#include "ffconf.h" /* FatFs configuration options */
#if FF_DEFINED != FFCONF_DEF
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册