aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-06-17 14:16:18 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-06-17 14:16:18 +0300
commit8ea30fe7354c7d878c5ff718b7e52a04178cf55b (patch)
tree8370473d57f54a6c4acac90ff46db0041ff61f74 /Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
parenta41edd14d6d7531550ce6f967360479c05464bd7 (diff)
downloadTango-8ea30fe7354c7d878c5ff718b7e52a04178cf55b.tar.gz
Tango-8ea30fe7354c7d878c5ff718b7e52a04178cf55b.zip
MotorStop, improve IDS, Dispensers pressure
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
index f80f26e53..e99d3df0b 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
@@ -183,14 +183,14 @@ uint32_t Winder_End(void)
//stop screw
ScrewNumberOfSteps = 0;
RemoveControlCallback(ScrewControlId,ScrewDirectionChange);
- return StopMotor (HARDWARE_MOTOR_TYPE__MOTO_SCREW,Hard_Hiz);
+ return MotorStop (HARDWARE_MOTOR_TYPE__MOTO_SCREW,Hard_Hiz);
}
void Winder_ScrewHomeLimitSwitchInterrupt(void)
{
uint32_t status;
if (Winder_ScrewHoming)
{
- StopMotor(HARDWARE_MOTOR_TYPE__MOTO_SCREW,Hard_Stop); //stop ASAP
+ MotorStop(HARDWARE_MOTOR_TYPE__MOTO_SCREW,Hard_Stop); //stop ASAP
}
status = MotorSetDirection(HARDWARE_MOTOR_TYPE__MOTO_SCREW,MotorsCfg[HARDWARE_MOTOR_TYPE__MOTO_SCREW].directionthreadwize);//make sure to move the cart out
}