aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-05-30 17:33:38 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-05-30 17:33:38 +0300
commit3efff64b67a938edecc9de38145710542a7a9978 (patch)
tree00022af400d7103958efd9ad631c05f789ea4463 /Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
parentb525fbcad1ac8c7126caa82ec8458ffbb6284384 (diff)
parent2a55ff28d3a71c38cb1fe8dd2481c24d5611f347 (diff)
downloadTango-3efff64b67a938edecc9de38145710542a7a9978.tar.gz
Tango-3efff64b67a938edecc9de38145710542a7a9978.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
index 0acb587b2..b741f33f3 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
@@ -56,7 +56,7 @@ uint32_t MotorsConfigMessage(HardwareMotor * request)
MotorsCfg[Motor_i].pulseperround = request->pulseperround;
MotorsCfg[Motor_i].pulleyradius = request->pulleyradius;
MotorsCfg[Motor_i].configword = request->configword;
- if(MotorDriverResponse[Motor_i].DriverType == VoltageCombinedMotDriver)
+ if(MotorDriverResponse[Motor_i].DriverType == CombinrdMotDriver)
{
MotorsCfg[Motor_i].directionthreadwize = !(request->directionthreadwize);//PowerSTEP01
}