summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/fat.c')
-rw-r--r--firmware/drivers/fat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c
index 758e48cdbd..fd09bff0da 100644
--- a/firmware/drivers/fat.c
+++ b/firmware/drivers/fat.c
@@ -1010,7 +1010,7 @@ static void fat_time(unsigned short* date,
1010 unsigned short* time, 1010 unsigned short* time,
1011 unsigned short* tenth ) 1011 unsigned short* tenth )
1012{ 1012{
1013#ifdef HAVE_RTC 1013#ifdef CONFIG_RTC
1014 struct tm* tm = get_time(); 1014 struct tm* tm = get_time();
1015 1015
1016 if (date) 1016 if (date)
@@ -1092,7 +1092,7 @@ static void fat_time(unsigned short* date,
1092 } 1092 }
1093 if (tenth) 1093 if (tenth)
1094 *tenth = 0; 1094 *tenth = 0;
1095#endif /* HAVE_RTC */ 1095#endif /* CONFIG_RTC */
1096} 1096}
1097 1097
1098static int write_long_name(struct fat_file* file, 1098static int write_long_name(struct fat_file* file,
@@ -1529,7 +1529,7 @@ static int update_short_entry( struct fat_file* file, long size, int attr )
1529 *sizeptr = htole32(size); 1529 *sizeptr = htole32(size);
1530 1530
1531 { 1531 {
1532#ifdef HAVE_RTC 1532#ifdef CONFIG_RTC
1533 unsigned short time = 0; 1533 unsigned short time = 0;
1534 unsigned short date = 0; 1534 unsigned short date = 0;
1535#else 1535#else