diff --git a/components/fatfs/Kconfig b/components/fatfs/Kconfig index 62254afa5a..9f44263a0e 100644 --- a/components/fatfs/Kconfig +++ b/components/fatfs/Kconfig @@ -180,8 +180,6 @@ menu "FAT Filesystem support" config FATFS_API_ENCODING_ANSI_OEM bool "API uses ANSI/OEM encoding" - config FATFS_API_ENCODING_UTF_16 - bool "API uses UTF-16 encoding" config FATFS_API_ENCODING_UTF_8 bool "API uses UTF-8 encoding" endchoice diff --git a/components/fatfs/src/ffconf.h b/components/fatfs/src/ffconf.h index a265dee159..1edb2313d8 100644 --- a/components/fatfs/src/ffconf.h +++ b/components/fatfs/src/ffconf.h @@ -147,8 +147,6 @@ #ifdef CONFIG_FATFS_API_ENCODING_UTF_8 #define FF_LFN_UNICODE 2 -#elif defined(CONFIG_FATFS_API_ENCODING_UTF_16) -#define FF_LFN_UNICODE 1 #else /* CONFIG_FATFS_API_ENCODING_ANSI_OEM */ #define FF_LFN_UNICODE 0 #endif