aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-12-10 16:40:51 +0200
committerShlomo Hecht <shlomo@twine-s.com>2018-12-10 16:40:51 +0200
commit8b33b9e1f8722ae98e44bd3a25211bfcf53134c6 (patch)
tree91a798fc624ad780f586d812cd09c5ef13f095ae /Software/Embedded_SW/Embedded/Modules/Thread
parent860105b29a85031b0fbdc4feb6fa71483e9b76f1 (diff)
parentade911343c0cae7e4654adda9fc37681f54b7f32 (diff)
downloadTango-8b33b9e1f8722ae98e44bd3a25211bfcf53134c6.tar.gz
Tango-8b33b9e1f8722ae98e44bd3a25211bfcf53134c6.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread')
-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 4f7b747e7..22fcf3e6f 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
@@ -309,7 +309,7 @@ uint32_t Winder_Presegment(void *JobDetails, uint32_t SegmentId)
ScrewControlId = AddControlCallback(Screw100msecDirectionChange, eHundredMillisecond,TemplateDataReadCBFunction,0,0,0);
ScrewDirectionChangeCounter = 1;
CalculationDirectionChangeCounter = 1;
- memset (WinderMotorSpeed,0,sizeof(uint32_t) *MAX_WINDER_SPEED_CALCULATION);
+ memset (WinderMotorSpeed,0,sizeof(WinderMotorSpeed) );
WinderMotorSpeedCounter=0;
WinderMotorSpeedRollOver=false;
}