aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-03-01 09:15:06 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-03-01 09:15:06 +0200
commit95aae68e89693fb394d59d19b383571099b6d3d4 (patch)
tree76e2c34749e4597f6aa8266151b3a5a4f246704c /Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
parentd02187bd55bc5c24780d567d9221d174b6ec65ce (diff)
downloadTango-95aae68e89693fb394d59d19b383571099b6d3d4.tar.gz
Tango-95aae68e89693fb394d59d19b383571099b6d3d4.zip
fix file handling. set the machine state to error while waiting to the cooler
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
index 5170b7cef..da4f04f3b 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
@@ -978,7 +978,7 @@ void MillisecLogInit(void)
if (FileHandle == 0)
Fresult = FR_DENIED;
else
- Fresult = f_open(FileHandle,MillisecPath,FA_WRITE | FA_OPEN_ALWAYS);
+ Fresult = f_open(FileHandle,MillisecPath,FA_WRITE | FA_OPEN_ALWAYS|FA_CREATE_ALWAYS);
ROM_IntMasterEnable();
return ;