From 40490d3a6438a54e3330efd32460e161c21773b6 Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Thu, 3 Jan 2019 12:27:07 +0200 Subject: heater - turn off when above temperature on initial heating --- Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 7 +++++++ 1 file changed, 7 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 64b6ac4e0..1ab3a21e9 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c @@ -541,6 +541,13 @@ uint32_t MillisecLowLoop(uint32_t tick) FPGA_GetAllDispensersValveBusyOCD(); DrawerFansStatus = Read_Fans_Tacho(); KeepAliveOneSecondCall(); + for (Motor_i = 0;Motor_i < NUM_OF_MOTORS;Motor_i++) + { + if (Motor_i == HARDWARE_MOTOR_TYPE__MOTO_SCREW) + continue; // + if (isMotorConfigured(Motor_i)) + MotorGetStatusFromFPGA(Motor_i); + } } if (OneMinute_Tick) { -- cgit v1.3.1