aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-09-17 14:48:22 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-09-17 14:48:22 +0300
commit48c38d2f1c5b21cd0fc58eae781fe3c470a66cf5 (patch)
tree8c5a4a5eaeef5979610a5771187b2e586072a345 /Software/Embedded_SW/Embedded/Modules/Thread
parent2aee384bd4ed70bedbd0081601807aa60fee9083 (diff)
parenteb7530120668b3b704f60d4f554080599d9c1087 (diff)
downloadTango-48c38d2f1c5b21cd0fc58eae781fe3c470a66cf5.tar.gz
Tango-48c38d2f1c5b21cd0fc58eae781fe3c470a66cf5.zip
merge
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
index 0272255a5..c7d5998c6 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -317,6 +317,9 @@ uint32_t ThreadControlCBFunction(uint32_t IfIndex, uint32_t ReadValue)
if (ThreadControlActive == false)
return OK;
+ if (PrepareState == true)
+ return OK;
+
if (IfIndex>>8 != IfTypeThread)
{
LOG_ERROR (IfIndex, "Wrong Interface type");
@@ -584,6 +587,7 @@ uint32_t ThreadPreSegmentState(void *JobDetails)
LOG_ERROR (dyeingspeed," job speed zero");
return ERROR;
}
+ LOG_ERROR (dyeingspeed," ThreadPreSegmentState");
SetOriginMotorSpeed(process_speed);
ThreadControlActive = true;