aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-08-15 19:02:57 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-08-15 19:02:57 +0300
commit8f5c330af5177b2e09998d0f05134b173dfa2e61 (patch)
treebaabc411fee0667ccf55639395c3d790c256059d /Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
parentf1fccdd145b715b856114b36edd35918639b0b8d (diff)
downloadTango-8f5c330af5177b2e09998d0f05134b173dfa2e61.tar.gz
Tango-8f5c330af5177b2e09998d0f05134b173dfa2e61.zip
machine state message added
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
index cdb8950e4..07f2f13f7 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
@@ -16,7 +16,9 @@
///////////////////////////////////////////////////////////////////////////////////////////
#include "include.h"
#include "Modules/General/GeneralHardware.h"
+
#include "Modules/AlarmHandling/AlarmHandling.h"
+#include "Modules/General/MachineStatus.h"
#include "MillisecTask.h"
#include <driverlib/timer.h>
@@ -606,7 +608,8 @@ uint32_t MillisecLowLoop(uint32_t tick)
{
Read_MidTank_Pressure_Sensor(Disp_i);
}
-/* for (Motor_i = 0;Motor_i < NUM_OF_MOTORS;Motor_i++)
+ MachineUpdateResponseFunc();
+ /* for (Motor_i = 0;Motor_i < NUM_OF_MOTORS;Motor_i++)
{
if (Motor_i == HARDWARE_MOTOR_TYPE__MOTO_SCREW)
continue; //