diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-06-14 17:48:34 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-06-14 17:48:34 +0300 |
| commit | 87973c0cc97ba449e2b17c92ff6eb68e2a28a871 (patch) | |
| tree | 6c92affb59f3b784518f8f683ed332855a3ecddf /Software/Embedded_SW/Embedded/Modules/Control | |
| parent | 580cb401e8b31501cb3fbee1b9f59a67ad636633 (diff) | |
| download | Tango-87973c0cc97ba449e2b17c92ff6eb68e2a28a871.tar.gz Tango-87973c0cc97ba449e2b17c92ff6eb68e2a28a871.zip | |
thread winder improvements
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 3 |
1 files changed, 1 insertions, 2 deletions
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) |
