From f1347b9bea5562781e1f2d0440981a15c52b5144 Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Tue, 24 Apr 2018 10:04:46 +0300 Subject: change milisecond handling of the motors to mailboxes to enable concurrent request (that will be handled one after another. set speed request is prioritized. busy is checked --- Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Embedded_SW/Embedded/Modules/Thread') diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c index 92037d0b5..bb866d608 100644 --- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c +++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c @@ -238,7 +238,7 @@ uint32_t ThreadPreSegmentState(void *JobDetails) //MotorControlConfig[Motor_i].m_SetParam = motor_speed; OriginalMotorSpd_2PPS[Motor_i] = (int)motor_speed; } - ControlStart(); + //ControlStart(); // set the new speed in the dryer motor to the speed of the new segment MotorSetSpeed(MOTOR_DRYER_DRIVING, OriginalMotorSpd_2PPS[DRYER_MOTOR], MotorsCfg[MOTOR_DRYER_DRIVING].microstep); MotorSetSpeed(MOTOR_RLOADING, 1, 1); -- cgit v1.3.1