aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-03-19 19:23:38 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-03-19 19:23:38 +0200
commit5881b11e25a34acc0230f5316db5783389afe18f (patch)
tree7e97171a32901fa43c8d6f66619ba621a5fbd96c /Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
parent3fbd939489f046bff511c08b93951821b0791a48 (diff)
parent9ebd205980f2203339b2dca2a92038dc06d0f43e (diff)
downloadTango-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.c5
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