From dffeea66c97f7a37656b3959a22c1bad5b5de97e Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Wed, 10 Oct 2018 15:06:00 +0300 Subject: keep alive implementation --- Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Software/Embedded_SW/Embedded/Modules/Control') diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c index 9b4f945d8..2243007b8 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c @@ -39,6 +39,8 @@ #include "modules/thread/thread_ex.h" #include "modules/ids/ids_ex.h" +#include "Communication/Connection.h" + Task_Handle Millisecond_Task_Handle; /******************** Definitions ********************************************/ #define INVALID_MSG_ID 0xFFFF @@ -468,6 +470,7 @@ uint32_t MillisecLoop(uint32_t tick) Control_WD(ENABLE,50); //activate heaters/dispenser watchdog, 5 seconds } DrawerFansStatus = Read_Fans_Tacho(); + KeepAliveOneSecondCall(); } if (OneMinute_Tick) { -- cgit v1.3.1