aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-03-14 19:02:52 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-03-14 19:02:52 +0200
commit8356b90e200c1124e6dc89fe88f18f62c68b7623 (patch)
treef556ebc63300dc8283fb673b1ceb211eb2966221 /Software/Embedded_SW/Embedded/Modules/Thread
parentd87881183d74fa692b598f170dd820adeaf54fca (diff)
parent9d04bbb2b4a2eb2eb14cc813103c856b7bde975a (diff)
downloadTango-8356b90e200c1124e6dc89fe88f18f62c68b7623.tar.gz
Tango-8356b90e200c1124e6dc89fe88f18f62c68b7623.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
index 10baaed8e..13c81fb39 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -186,7 +186,7 @@ static ReturnCode PrepareState(void *JobDetails)
MotorControlConfig[Motor_i].m_mesuredParam = 0;
MotorControlConfig[Motor_i].m_preError = 0;
MotorControlConfig[Motor_i].m_SetParam = 0;//need to update SetParams on presegment stage
- AddControlCallback(DeviceId2Motor[Motor_i], ThreadControlCBFunction, eOneMillisecond);
+ AddControlCallback(DeviceId2Motor[Motor_i], ThreadControlCBFunction, eOneMillisecond,TemplateDataReadCBFunction,Motor_i);
}
//set 3 dancers to the profile positions
return NextState;