From bb497e9d2ea1437c570e179e99f024d2bc456d6f Mon Sep 17 00:00:00 2001 From: Leo C Date: Wed, 29 May 2019 23:08:12 +0200 Subject: Remove local copy of avr-libc time lib. --- avr/cmd_fat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'avr/cmd_fat.c') diff --git a/avr/cmd_fat.c b/avr/cmd_fat.c index 2970ac3..fdd05b4 100644 --- a/avr/cmd_fat.c +++ b/avr/cmd_fat.c @@ -10,13 +10,14 @@ #include "cmd_fat.h" #include +#include +uint32_t fat_time(const struct tm * timeptr); #include "ff.h" #include "z80-if.h" #include "eval_arg.h" #include "con-utils.h" #include "print-utils.h" -#include "time.h" #include "timer.h" #include "debug.h" #include "env.h" @@ -59,7 +60,7 @@ DWORD get_fattime (void) time(&timer); gmtime_r(&timer, &tm_timer); - return fatfs_time(&tm_timer); + return fat_time(&tm_timer); } -- cgit v1.2.3