aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-12-19 18:01:18 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-12-19 18:01:18 +0200
commit60be180a3736bf15e89f51f65bc1d7eda7b6cfae (patch)
treeb8331374188ee35815b4340f5d93ee8244dcf401 /Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
parent1208554e06da8aec1b074932df488769572ffcfb (diff)
parent935b82a27fb385a68edc9ef4184614862324b304 (diff)
downloadTango-60be180a3736bf15e89f51f65bc1d7eda7b6cfae.tar.gz
Tango-60be180a3736bf15e89f51f65bc1d7eda7b6cfae.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
index f0331b4bc..dd31e9cda 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -722,6 +722,9 @@ uint32_t ThreadInitialTestStub(HardwareMotor * request)
JobCounter = 0;
TotalProcessedLength = 0.0;
PoolerTotalProcessedLength = 0.0;
+ InitialProcess = true;
+ initialpos = 0xFFFF;
+ Poolerinitialpos = 0xFFFF;
PrepareState = true;
AlarmHandlingSetAlarm(EVENT_TYPE__THREAD_BREAK,false);
AlarmHandlingSetAlarm(EVENT_TYPE__THREAD_TENSION_CONTROL_FAILURE_PULLER_DANCER,false);
@@ -853,9 +856,6 @@ uint32_t ThreadInitialTestStub(HardwareMotor * request)
#endif
PrepareReady(Module_Thread,ModuleDone);
//set 3 dancers to the profile positions
- InitialProcess = true;
- initialpos = 0xFFFF;
- Poolerinitialpos = 0xFFFF;
return OK;
}