aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Drivers/Flash_Memory
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2019-08-01 17:22:53 +0300
committerAvi Levkovich <avi@twine-s.com>2019-08-01 17:22:53 +0300
commit42471da0b2a19c964fc2c3df39cc2e8a6aaf5e2e (patch)
treefe233e51157d3d17a2eafe85f93df0b8b865826e /Software/Embedded_SW/Embedded/Drivers/Flash_Memory
parent293cca91ee3737b47424d1f7febd9dca8b0a9c03 (diff)
downloadTango-42471da0b2a19c964fc2c3df39cc2e8a6aaf5e2e.tar.gz
Tango-42471da0b2a19c964fc2c3df39cc2e8a6aaf5e2e.zip
update the new FPGA (17.6.19) addresses and the function Change_Motor_SPI_Direction
Diffstat (limited to 'Software/Embedded_SW/Embedded/Drivers/Flash_Memory')
-rw-r--r--Software/Embedded_SW/Embedded/Drivers/Flash_Memory/FATFS/Control_File_System.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Drivers/Flash_Memory/FATFS/Control_File_System.c b/Software/Embedded_SW/Embedded/Drivers/Flash_Memory/FATFS/Control_File_System.c
index c58be6664..4f644bc90 100644
--- a/Software/Embedded_SW/Embedded/Drivers/Flash_Memory/FATFS/Control_File_System.c
+++ b/Software/Embedded_SW/Embedded/Drivers/Flash_Memory/FATFS/Control_File_System.c
@@ -94,6 +94,7 @@ static FATFS g_sFatFs;
char FlashReadstring [35];
char FlashReadstring1 [35];
+extern Semaphore_Handle FFS_Sem;
FRESULT Init_Flash_File_System(bool Need_mkfs)
{
@@ -105,6 +106,7 @@ FRESULT Init_Flash_File_System(bool Need_mkfs)
//in C:\TI\TivaWare_C_Series-2.1.2.111\third_party\fatfs\src\ffconf.h
#endif
+ Semaphore_post(FFS_Sem);
// Mount the file system, using logical disk 0.
iFResult = f_mount(0, &g_sFatFs);
if(iFResult != FR_OK)