1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00

Allow compilation when _USE_LFN = 0 or _CODE_PAGE = 1 (in src/fatfs/ffconf.h)

This commit is contained in:
Martin Guy 2011-03-20 02:10:44 +01:00
parent 13b84a2ca0
commit 68be85c008

View File

@ -493,9 +493,7 @@ const WCHAR Tbl[] = { /* CP1258(0x80-0xFF) to Unicode conversion table */
#endif
#if !_TBLDEF || !_USE_LFN
#error This file is not needed in current configuration
#endif
#if _TBLDEF && _USE_LFN
WCHAR ff_convert ( /* Converted character, Returns zero on error */
@ -599,3 +597,5 @@ WCHAR ff_wtoupper ( /* Upper converted character */
return tbl_lower[i] ? tbl_upper[i] : chr;
}
#endif // #if _TBLDEF && _USE_LFN