当使能长文件名的时候 是不是必须是UNICODE编码?
#define _USE_LFN 3 /* 0 to 3 */
#define _MAX_LFN 255 /* Maximum LFN length to handle (12 to 255) */
#define _LFN_UNICODE 1 /* 0:ANSI/OEM or 1:Unicode */
MDK 中编译 就出现了 错误
result = f_open(&MyFile, "test1.txt", FA_READ);
..\..\User\FatTest.c(77): error: #167: argument of type "char *" is incompatible with parameter of type "const TCHAR *" |