aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Common/SWUpdate
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-02-02 16:04:23 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-02-02 16:04:23 +0200
commit0967770a1bc3bb2d543c09de5e8e0e734aca353f (patch)
treeb425ca64ae4e5065d1043a8a9d9cbc837c6c603a /Software/Embedded_SW/Embedded/Common/SWUpdate
parentf3ddfa5b125874db0a3ea45cca8930fc9b674894 (diff)
downloadTango-0967770a1bc3bb2d543c09de5e8e0e734aca353f.tar.gz
Tango-0967770a1bc3bb2d543c09de5e8e0e734aca353f.zip
fix blower setup and air flow reading
Diffstat (limited to 'Software/Embedded_SW/Embedded/Common/SWUpdate')
-rw-r--r--Software/Embedded_SW/Embedded/Common/SWUpdate/FirmwareUpgrade.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Common/SWUpdate/FirmwareUpgrade.c b/Software/Embedded_SW/Embedded/Common/SWUpdate/FirmwareUpgrade.c
index 158948dd4..c42dc6695 100644
--- a/Software/Embedded_SW/Embedded/Common/SWUpdate/FirmwareUpgrade.c
+++ b/Software/Embedded_SW/Embedded/Common/SWUpdate/FirmwareUpgrade.c
@@ -171,7 +171,9 @@ uint32_t ActivateVersionRequestFunc(MessageContainer* requestContainer)
usnprintf(FullPath, 50, "%s%s%s", request->path,"/", VersionPackage->filedescriptors[File_i]->filename);
Fresult = f_unlink("//SYSINFO//ALARM.CFG");
Fresult |= f_rename (FullPath, "//SYSINFO//ALARM.CFG");
- AlarmHandlingLoadFile();
+ //AlarmHandlingLoadFile();
+ FlashInit();
+ Reboot = true;
CurrentRunningFile++;
break;
case VERSION_FILE_DESTINATION__GeneralHWConfigParams: