aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-04-02 11:56:02 +0300
committerShlomo Hecht <shlomo@twine-s.com>2020-04-02 11:56:02 +0300
commit877971e035526898d04c609f89e9ec2d1922036f (patch)
treeb028d032437bb2608ce5195035a345272d401c12 /Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
parentf051c52a15f629c8fbea0038a1df4831e56101cf (diff)
downloadTango-877971e035526898d04c609f89e9ec2d1922036f.tar.gz
Tango-877971e035526898d04c609f89e9ec2d1922036f.zip
handling of safety heating tests, dancers position
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c1
1 files changed, 1 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 fb8fa4711..a6a8314ab 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -830,6 +830,7 @@ uint32_t ThreadPrepare_Tension (int DancerId, double tension)
direction = 1-MotorsCfg[HW_Motor_Id].directionthreadwize;
movement = current - request;
}
+ MotorSetMaxSpeed (HW_Motor_Id, 500);
MotorMoveWithCallback (HW_Motor_Id, direction, (movement*MotorsCfg[HW_Motor_Id].microstep), NULL,20000);
status |= MCU_E2PromProgram(address,request);
}