diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-07-30 10:20:11 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-07-30 10:20:11 +0300 |
| commit | 1f69782f90dfa3d48e6b081fd2d25f69cf929fbb (patch) | |
| tree | f342fa64a6384115ffafa58aee10f7604d197d04 /Software/Embedded_SW/Embedded/Drivers/Flash_Memory | |
| parent | 90178d6bab9bfd40426bbcaac8368c56a6cccc43 (diff) | |
| download | Tango-1f69782f90dfa3d48e6b081fd2d25f69cf929fbb.tar.gz Tango-1f69782f90dfa3d48e6b081fd2d25f69cf929fbb.zip | |
Version 1.4.2.8 improved loading, cleaning introduced, time handled
Diffstat (limited to 'Software/Embedded_SW/Embedded/Drivers/Flash_Memory')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Drivers/Flash_Memory/FATFS/fatfs_port_mx66l51235f.c | 6 |
1 files changed, 4 insertions, 2 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 79f232655..0eccc7601 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 @@ -23,6 +23,7 @@ #include "driverlib/ssi.h" #include "driverlib/gpio.h" #include "inc/hw_memmap.h" +#include <time.h> //#include <ti/mw/fatfs/ff.h> //#include <ti/mw/fatfs/ffcio.h> @@ -198,8 +199,9 @@ void disk_timerproc (void) DWORD get_fattime (void) { - return miliseconds / 1000; - + //return miliseconds / 1000; + DWORD t = (DWORD)time(NULL); + return t; } |
