diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-11-05 09:51:08 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-11-05 09:51:08 +0200 |
| commit | 648a3fdc373fc1555a8d1e1908e8b4dfa2203820 (patch) | |
| tree | 4001df7aa6478335e8ca9782724bf4233708fcb4 /Software/Embedded_SW/Embedded/Modules/Control | |
| parent | 93591843e7fc3a68e955cb305838fe7e68d1c137 (diff) | |
| download | Tango-648a3fdc373fc1555a8d1e1908e8b4dfa2203820.tar.gz Tango-648a3fdc373fc1555a8d1e1908e8b4dfa2203820.zip | |
Heaters PID enabled per configuration. USB reinitialized. new HW handling with error report
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 8 |
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(); } |
