aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-04-26 15:38:07 +0300
committerShlomo Hecht <shlomo@twine-s.com>2020-04-26 15:38:07 +0300
commit76845dc21fd587cfefd886e2539b3202d00564f6 (patch)
tree38553f5e21eb410f30386be055cba39830045d5a /Software/Embedded_SW/Embedded/Modules/Thread
parent257919304a46076138cd31d688323f80f3081f7f (diff)
downloadTango-76845dc21fd587cfefd886e2539b3202d00564f6.tar.gz
Tango-76845dc21fd587cfefd886e2539b3202d00564f6.zip
move dispenser EEPROM handling to stubs. add whs eeprom handling draft
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c5
1 files changed, 3 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 3b97e9eb7..9698f1ea3 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
@@ -59,7 +59,7 @@ uint32_t ScrewControlId = 0xFF;
static bool KeepWindingCone = false;
static uint32_t WindingConeLocation;
-static uint32_t WinderBackToBaseTime = 800;
+static uint32_t WinderBackToBaseTime = 1500;
float NumberOfRotationPerPassage = 0.0;
InternalWinderConfigStruc InternalWinderCfg = {0};
@@ -580,7 +580,8 @@ uint32_t Winder_End(void)
ScrewsStopControlTimer();
//move the cart to the edge so the spool can be easily replaced
//MotorMovetoLimitSwitch (HARDWARE_MOTOR_TYPE__MOTO_SCREW,MotorsCfg[HARDWARE_MOTOR_TYPE__MOTO_SCREW].directionthreadwize, 1000, GPI_LS_SCREW_RIGHT, NULL,0);
- MotorStop(HARDWARE_MOTOR_TYPE__MOTO_SCREW,Hard_Hiz);
+ //MotorStop(HARDWARE_MOTOR_TYPE__MOTO_SCREW,Hard_Hiz);
+ MotorAbortMovetoLimitSwitch(HARDWARE_MOTOR_TYPE__MOTO_SCREW); //bug #2709
return OK;
}
void Winder_ScrewHomeLimitSwitchInterrupt(void)