diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-09 18:43:35 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-02-09 18:43:35 +0200 |
| commit | 0d1c8e051bcbd1b05646301ffef59b48d9490e23 (patch) | |
| tree | bcf7612a5d964e1e7a2d6c9eab2881e94f63ebfd /Software/Embedded_SW/Embedded/Modules/Thread | |
| parent | c9be42c7273cc76e9318c1a4c47fd60d7892f296 (diff) | |
| download | Tango-0d1c8e051bcbd1b05646301ffef59b48d9490e23.tar.gz Tango-0d1c8e051bcbd1b05646301ffef59b48d9490e23.zip | |
improve powerstep and reglar, new process params, start of power management
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c | 3 |
1 files changed, 2 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 e53adabb7..ec705c2d2 100644 --- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c +++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c @@ -73,7 +73,8 @@ 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) + MotorsCfg[Motor_i].directionthreadwize = request->directionthreadwize;//L6470 + L6472 +/* if(MotorDriverResponse[Motor_i].DriverType != CombinrdMotDriver) { MotorsCfg[Motor_i].directionthreadwize = request->directionthreadwize ^ 1;//PowerSTEP01 } |
