diff --git a/bootloader/libs/fatfs/ffconf.h b/bootloader/libs/fatfs/ffconf.h index 5cacafdc..60caac66 100644 --- a/bootloader/libs/fatfs/ffconf.h +++ b/bootloader/libs/fatfs/ffconf.h @@ -41,6 +41,7 @@ #define FF_USE_MKFS 0 /* This option switches f_mkfs() function. (0:Disable or 1:Enable) */ + #if FF_USE_MKFS #define FF_MKFS_LABEL "SWITCH SD " #endif @@ -50,6 +51,7 @@ #define FF_USE_FASTSEEK 0 /* This option switches fast seek function. (0:Disable or 1:Enable) */ + #define FF_FASTFS 0 #if FF_FASTFS #undef FF_USE_FASTSEEK @@ -194,7 +196,7 @@ / not defined, a user defined volume string table needs to be defined as: / / const char* VolumeStr[FF_VOLUMES] = {"ram","flash","sd","usb",... -/ Order is important. Any change to order, must also be reflected to diskio drive enum. +/ Order is important! Any change to order, must also be reflected to diskio drive enum. */ @@ -256,7 +258,7 @@ #define FF_FS_NORTC 1 #define FF_NORTC_MON 1 #define FF_NORTC_MDAY 1 -#define FF_NORTC_YEAR 2025 +#define FF_NORTC_YEAR 2026 /* The option FF_FS_NORTC switches timestamp function. If the system does not have / any RTC function or valid timestamp is not needed, set FF_FS_NORTC = 1 to disable / the timestamp function. Every object modified by FatFs will have a fixed timestamp diff --git a/nyx/nyx_gui/libs/fatfs/ffconf.h b/nyx/nyx_gui/libs/fatfs/ffconf.h index a96fbf40..c0c2a1d5 100644 --- a/nyx/nyx_gui/libs/fatfs/ffconf.h +++ b/nyx/nyx_gui/libs/fatfs/ffconf.h @@ -41,6 +41,7 @@ #define FF_USE_MKFS 1 /* This option switches f_mkfs() function. (0:Disable or 1:Enable) */ + #if FF_USE_MKFS #define FF_MKFS_LABEL "SWITCH SD " #endif @@ -50,6 +51,7 @@ #define FF_USE_FASTSEEK 0 /* This option switches fast seek function. (0:Disable or 1:Enable) */ + #define FF_FASTFS 1 #if FF_FASTFS #undef FF_USE_FASTSEEK @@ -195,7 +197,7 @@ / not defined, a user defined volume string table needs to be defined as: / / const char* VolumeStr[FF_VOLUMES] = {"ram","flash","sd","usb",... -/ Order is important. Any change to order, must also be reflected to diskio drive enum. +/ Order is important! Any change to order, must also be reflected to diskio drive enum. */ @@ -257,7 +259,7 @@ #define FF_FS_NORTC 0 #define FF_NORTC_MON 1 #define FF_NORTC_MDAY 1 -#define FF_NORTC_YEAR 2024 +#define FF_NORTC_YEAR 2026 /* The option FF_FS_NORTC switches timestamp function. If the system does not have / any RTC function or valid timestamp is not needed, set FF_FS_NORTC = 1 to disable / the timestamp function. Every object modified by FatFs will have a fixed timestamp