aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-04-02 10:33:40 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-04-02 10:33:40 +0300
commit00580a4427db98910a5ea82a525656dc68c4e86f (patch)
tree824fb13c2f1f7563ac4afa734427948c42fdc06a /Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
parentc48ec6ebb242509044c2e24ed7518d536057bb3a (diff)
parentf53099c8fddc7374857d29ee5521c00d91ec6d70 (diff)
downloadTango-00580a4427db98910a5ea82a525656dc68c4e86f.tar.gz
Tango-00580a4427db98910a5ea82a525656dc68c4e86f.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_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.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 4131fbca5..9f5ece15a 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -751,7 +751,7 @@ uint32_t ThreadPreSegmentState(void *SegmentDetails, uint32_t SegmentId)
//wait for all motors to get to the required speed (set the target speed for the control to check)
//call the job state machine when the thread system is ready
if ((InitialProcess==false) && (EnableIntersegment == true) && (IntersegmentLength >= 1.0)) //fix - avoid intersegment length 0
- {
+ {//add initial presegment and cleaning before first segment
ThreadUpdateProcessLength (IntersegmentLength,(void *)ThreadInterSegmentEnded);
REPORT_MSG (IntersegmentLength," ThreadPreSegmentState IntersegmentLength");
}