diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-03-19 19:23:38 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-03-19 19:23:38 +0200 |
| commit | 5881b11e25a34acc0230f5316db5783389afe18f (patch) | |
| tree | 7e97171a32901fa43c8d6f66619ba621a5fbd96c /Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c | |
| parent | 3fbd939489f046bff511c08b93951821b0791a48 (diff) | |
| parent | 9ebd205980f2203339b2dca2a92038dc06d0f43e (diff) | |
| download | Tango-5881b11e25a34acc0230f5316db5783389afe18f.tar.gz Tango-5881b11e25a34acc0230f5316db5783389afe18f.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c index f4dc6a170..a6ca46246 100644 --- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c +++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c @@ -709,7 +709,10 @@ uint32_t ThreadPreSegmentState(void *JobDetails, uint32_t SegmentId) MotorSetDirection((TimerMotors_t)HARDWARE_MOTOR_TYPE__MOTO_LLOADING,MotorsCfg[HARDWARE_MOTOR_TYPE__MOTO_LLOADING].directionthreadwize); MotorSetSpeed(HARDWARE_MOTOR_TYPE__MOTO_LLOADING, 1); } - IDS_StartLubrication(); + if (JobTicket->enablelubrication == true) + { + IDS_StartLubrication(); + } } // activate control fr all motors //set speed for both rocker motors |
