diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-12-29 18:14:55 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-12-29 18:14:55 +0200 |
| commit | fab31b6b86f8ea0374fb71ab0a43806d623d9474 (patch) | |
| tree | f474eccf13f13588f5e5c2479a870e2083f72b7c | |
| parent | 18ebd0eade87b8ba0b561b49d2f8819a16ad13e7 (diff) | |
| download | Tango-fab31b6b86f8ea0374fb71ab0a43806d623d9474.tar.gz Tango-fab31b6b86f8ea0374fb71ab0a43806d623d9474.zip | |
fix
| -rw-r--r-- | Software/Embedded_SW/Embedded/Drivers/Flash_Memory/FATFS/fatfs_port_mx66l51235f.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Drivers/Flash_Memory/FATFS/fatfs_port_mx66l51235f.c b/Software/Embedded_SW/Embedded/Drivers/Flash_Memory/FATFS/fatfs_port_mx66l51235f.c index 28fc16ebb..23490aca3 100644 --- a/Software/Embedded_SW/Embedded/Drivers/Flash_Memory/FATFS/fatfs_port_mx66l51235f.c +++ b/Software/Embedded_SW/Embedded/Drivers/Flash_Memory/FATFS/fatfs_port_mx66l51235f.c @@ -25,6 +25,7 @@ #include "inc/hw_memmap.h" #include <time.h> #include <utils/ustdlib.h> +#include <DataDef.h> //#include <ti/mw/fatfs/ff.h> //#include <ti/mw/fatfs/ffcio.h> @@ -201,7 +202,7 @@ void disk_timerproc (void) DWORD get_fattime (void) { //return miliseconds / 1000; - time_t tt = umktime(struct tm *timeptr); + time_t tt = umktime(&LocalTime); DWORD t = (DWORD)tt; return t; |
