From c9f2308a1d4401ceefaac47b1ea851530d07e47d Mon Sep 17 00:00:00 2001 From: James Buren Date: Sat, 3 Jul 2021 00:19:58 +0000 Subject: fat: move fattime_mktime to timefuncs This moves the time conversion function to timefuncs since it has uses on ports that don't use the FAT driver. This function has no dependency on the FAT driver as it is so this should not cause any issues. To reflect this separation the function was renamed to dostime_mktime since it is really for DOS timestamps. The places where it was used have also been updated. Change-Id: Id98b1448d5c6fcda286846e1d2c736db682bfb52 --- firmware/export/fat.h | 1 - 1 file changed, 1 deletion(-) (limited to 'firmware/export/fat.h') diff --git a/firmware/export/fat.h b/firmware/export/fat.h index b8092290e6..27c2a161f6 100644 --- a/firmware/export/fat.h +++ b/firmware/export/fat.h @@ -174,7 +174,6 @@ void fat_recalc_free(IF_MV_NONVOID(int volume)); bool fat_size(IF_MV(int volume,) unsigned long *size, unsigned long *free); /** Misc. **/ -time_t fattime_mktime(uint16_t fatdate, uint16_t fattime); void fat_empty_fat_direntry(struct fat_direntry *entry); void fat_init(void); -- cgit v1.2.3