aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-11-05 10:26:49 +0200
committerShlomo Hecht <shlomo@twine-s.com>2018-11-05 10:26:49 +0200
commit1bfc4f14cc980d57113930adc61219a4bcb24f42 (patch)
tree98391fd353a484852ad2db6b12c28ad687295570 /Software/Embedded_SW/Embedded/Modules/Control
parent0536e840cfe32e13e276568f4f7a607acd22a740 (diff)
parent8bce53c5bea437d09946e1d29f153bfaa7a45133 (diff)
downloadTango-1bfc4f14cc980d57113930adc61219a4bcb24f42.tar.gz
Tango-1bfc4f14cc980d57113930adc61219a4bcb24f42.zip
merge
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
index 9eb9d9822..5785bafe4 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
@@ -486,6 +486,10 @@ uint32_t MillisecLoop(uint32_t tick)
{
MillisecReadFromTempSensor(Sensor_i, NULL);
}
+ if (watchdogCriticalAlarm == false)
+ {
+ Control_WD(ENABLE,5); //activate heaters/dispenser watchdog, 0.5 seconds
+ }
}
if (O900Millisecond_Tick)
@@ -499,10 +503,6 @@ uint32_t MillisecLoop(uint32_t tick)
CalculateDispenserPressure(Disp_i);
}
FPGA_GetAllDispensersValveBusyOCD();
- if (watchdogCriticalAlarm == false)
- {
- Control_WD(ENABLE,50); //activate heaters/dispenser watchdog, 5 seconds
- }
DrawerFansStatus = Read_Fans_Tacho();
KeepAliveOneSecondCall();
}