aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-12-28 00:51:14 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-12-28 00:51:14 +0200
commit7a0aa322afe6599f25d356c7f31403ef96cddde1 (patch)
treea00bdde07f116d2ce6d5a22d5f9732e07d49aa00 /Software/Embedded_SW/Embedded/Common/SWUpdate/FileSystem.c
parent028cca5fd51b4e5edb183e41e4e6831028a39e44 (diff)
parentdee982787439eea46d03624c1f69a38eb13a50ee (diff)
downloadTango-7a0aa322afe6599f25d356c7f31403ef96cddde1.tar.gz
Tango-7a0aa322afe6599f25d356c7f31403ef96cddde1.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
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;