From 87973c0cc97ba449e2b17c92ff6eb68e2a28a871 Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Thu, 14 Jun 2018 17:48:34 +0300 Subject: thread winder improvements --- Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (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 847b777fa..a1de29b08 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c @@ -31,7 +31,6 @@ #include "drivers/FPGA/FPGA.h" #include "modules/thread/thread_ex.h" -#include "Drivers/Peripheral_GPIO/GPIO.h" Task_Handle Millisecond_Task_Handle; /******************** Definitions ********************************************/ @@ -237,6 +236,7 @@ uint32_t MillisecLoop(uint32_t tick) FPGA_Read_limit_Switches_Registers(); //Read_FPGA_GPI_Rgisters();//FPGA_Read_limit_Switches(); #endif + temp += MotorActivity; if (MotorActivity) { @@ -340,7 +340,6 @@ uint32_t MillisecLoop(uint32_t tick) { for (Sensor_i = 0;Sensor_i < MAX_TEMPERATURE_SENSOR_ID;Sensor_i++) MillisecReadFromTempSensor(Sensor_i, NULL); - ACTIVITY_RED_LED_CHANGE_MODE; } if (Onesecond_Tick) -- cgit v1.3.1