aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-07-09 13:08:00 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-07-09 13:08:00 +0300
commit47396728e782e433a11768904cda94c47dc02933 (patch)
tree5183c4171ed5f126d1b1e1bd6ba6f6c809dcd8d9 /Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
parentca27cc7c2eb5d7f47b11054ffd26866cbbc1497e (diff)
downloadTango-47396728e782e433a11768904cda94c47dc02933.tar.gz
Tango-47396728e782e433a11768904cda94c47dc02933.zip
Debug info and improve job handling
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
index aa9e6ec94..a119b0b16 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
@@ -199,7 +199,7 @@ void Winder_ScrewHomeLimitSwitchInterrupt(void)
uint32_t status;
if (Winder_ScrewHoming)
{
- MotorStop(HARDWARE_MOTOR_TYPE__MOTO_SCREW,Hard_Stop); //stop ASAP
+ MotorStop(HARDWARE_MOTOR_TYPE__MOTO_SCREW,Hard_Hiz); //stop ASAP
}
status = MotorSetDirection(HARDWARE_MOTOR_TYPE__MOTO_SCREW,MotorsCfg[HARDWARE_MOTOR_TYPE__MOTO_SCREW].directionthreadwize);//make sure to move the cart out
}