diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-01-13 19:23:05 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-01-13 19:23:05 +0200 |
| commit | b6cbd444ac329d12ccb8b2585b3dc5c255011058 (patch) | |
| tree | 714ae581a29b9b9c0e61af9b95a95e6bacd7385b /Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c | |
| parent | abd9951fb899fcaaba8235ec92088f16d10e3918 (diff) | |
| parent | 18a3cf5d3cdec6142ee41f5beff5f63e6c68285c (diff) | |
| download | Tango-b6cbd444ac329d12ccb8b2585b3dc5c255011058.tar.gz Tango-b6cbd444ac329d12ccb8b2585b3dc5c255011058.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c b/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c index 0aff26320..049e64a64 100644 --- a/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c +++ b/Software/Embedded_SW/Embedded/Modules/Thread/ThreadLoad.c @@ -647,6 +647,9 @@ // CurrentControlledSpeed[FEEDER_MOTOR] = 1000; //MCU_E2PromProgram(EEPROM_STORAGE_DRYER_CYCLES,LoadArmInfo.LoadArmRounds); + ThreadMotorIdToMotorId[FEEDER_MOTOR] = HARDWARE_MOTOR_TYPE__MOTO_RDRIVING ; + ThreadMotorIdToMotorId[DRYER_MOTOR] = HARDWARE_MOTOR_TYPE__MOTO_DRYER_DRIVING; + MCU_E2PromRead(EEPROM_STORAGE_DRYER_CENTER,&DrierPrevLocation); numberOfCycles = 0; numberOfSteps = MotorsCfg[HARDWARE_MOTOR_TYPE__MOTO_DRYER_LOADARM].pulseperround/**LoadArmInfo.LoadArmRounds*/*MotorsCfg[HARDWARE_MOTOR_TYPE__MOTO_DRYER_LOADARM].microstep*MotorsCfg[HARDWARE_MOTOR_TYPE__MOTO_DRYER_LOADARM].pulleyradius; |
