aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-12-27 20:29:55 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-12-27 20:29:55 +0200
commitdee982787439eea46d03624c1f69a38eb13a50ee (patch)
treed75c60fef068c2b4d9600950cc375b4042e7b673 /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
parent4c2af21aa676f084bd53bf0c5786de17295b5033 (diff)
downloadTango-dee982787439eea46d03624c1f69a38eb13a50ee.tar.gz
Tango-dee982787439eea46d03624c1f69a38eb13a50ee.zip
prepare percentage
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c')
-rw-r--r--Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
index 7b7d4c3c2..efc156da3 100644
--- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
+++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
@@ -724,7 +724,8 @@ uint32_t GetFilesRequestFunc(MessageContainer* requestContainer)
}
else
{
- f_unlink(Data[ListedFiles].fullpath);
+ // f_unlink(Data[ListedFiles].fullpath);
+ Report("file system error - format FFS", __FILE__, __LINE__, 255, RpWarning, (int)0, 0);
}
/*RTC_time.tm_year=(fno[i]->fdate>>9)+1980;//populate the time struct (FAT start==1980, RTC.year==0)
RTC_time.tm_mon=(fno[i]->fdate>>5)&0x000F;