diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-02-06 18:21:41 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2020-02-06 18:21:41 +0200 |
| commit | 81ae2d2ffc13e85d9cc47a76e3c1002ed3ce1c06 (patch) | |
| tree | 9061b5e7fb00ba5fdeeb95ce3d20e5922ade6c5b /Software/Embedded_SW/Embedded/Modules/Thread | |
| parent | 0baf31baf01a291b6d2c6f5d45fb15fbbc146198 (diff) | |
| parent | 95f0a40caebf9eca5f9f9f9053257bd14ae71c3f (diff) | |
| download | Tango-81ae2d2ffc13e85d9cc47a76e3c1002ed3ce1c06.tar.gz Tango-81ae2d2ffc13e85d9cc47a76e3c1002ed3ce1c06.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_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c index fb3b78752..e53adabb7 100644 --- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c +++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c @@ -73,14 +73,14 @@ uint32_t MotorsConfigMessage(HardwareConfiguration * HWrequest) MotorsCfg[Motor_i].pulseperround = request->pulseperround; MotorsCfg[Motor_i].pulleyradius = request->pulleyradius; MotorsCfg[Motor_i].configword = request->configword; - if(MotorDriverResponse[Motor_i].DriverType == CombinrdMotDriver) + /*if(MotorDriverResponse[Motor_i].DriverType == CombinrdMotDriver) { MotorsCfg[Motor_i].directionthreadwize = request->directionthreadwize ^ 1;//PowerSTEP01 } else { MotorsCfg[Motor_i].directionthreadwize = request->directionthreadwize;//L6470 + L6472 - } + }*/ MotorsCfg[Motor_i].kvalhold = request->kvalhold; MotorsCfg[Motor_i].kvalrun = request->kvalrun; MotorsCfg[Motor_i].kvalacc = request->kvalacc; |
