aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-12-10 11:50:09 +0200
committerShlomo Hecht <shlomo@twine-s.com>2018-12-10 11:50:09 +0200
commitf52d459a9bde98848ae2f17b4e9435d12915d1ba (patch)
tree5f529b3c9c0ee50180849c96f0dbc6b74c08171a /Software/Embedded_SW/Embedded/Modules/Thread
parent3703a7ffb54849992d31d231e2375905b0003c7a (diff)
downloadTango-f52d459a9bde98848ae2f17b4e9435d12915d1ba.tar.gz
Tango-f52d459a9bde98848ae2f17b4e9435d12915d1ba.zip
fix bug
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 eafe9e5a0..2009943b0 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c
@@ -304,7 +304,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;
}