aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-03-04 18:15:20 +0200
committerShlomo Hecht <shlomo@twine-s.com>2019-03-04 18:15:20 +0200
commit6c6a54059950271da44ba47bc629382a2b636cdb (patch)
tree2df05915998f7545e57ec83303097df7c48b3c57 /Software/Embedded_SW/Embedded/Modules/Thread
parent0b9ceb4bef00aae3c49271f8171d8acaba5455d6 (diff)
downloadTango-6c6a54059950271da44ba47bc629382a2b636cdb.tar.gz
Tango-6c6a54059950271da44ba47bc629382a2b636cdb.zip
version 1.3.7.8 use flash for alarm and hw map. fix heaters problems. SWITCH WASTE VALVE DIRECTION. prepare 100micro tests
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c7
1 files changed, 6 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 ee49d56f3..394e2ae13 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -694,6 +694,9 @@ uint32_t ThreadPreSegmentState(void *JobDetails, uint32_t SegmentId)
PrepareState = false;
// set the new speed in the dryer motor to the speed of the new segment
MotorSetSpeed(HARDWARE_MOTOR_TYPE__MOTO_DRYER_DRIVING, OriginalMotorSpd_2PPS[DRYER_MOTOR]);
+#ifdef HUNDRED_MICROSECONDS_DANCER_READ
+ MillisecLogInit();
+#endif
if (MotorsCfg[HARDWARE_MOTOR_TYPE__MOTO_RLOADING].maxfrequency > 0)
{
@@ -775,7 +778,9 @@ char Endstr[150];
ThreadUpdateProcessLength (0.0,(void *)NULL);
SetOriginMotorSpeed(0);
-
+#ifdef HUNDRED_MICROSECONDS_DANCER_READ
+ MillisecLogClose();
+#endif
if (SpeedControlId != 0xFF)
{
if(RemoveControlCallback(SpeedControlId,ThreadLengthCBFunction)!=OK)