diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-06-14 17:48:34 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-06-14 17:48:34 +0300 |
| commit | 87973c0cc97ba449e2b17c92ff6eb68e2a28a871 (patch) | |
| tree | 6c92affb59f3b784518f8f683ed332855a3ecddf /Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c | |
| parent | 580cb401e8b31501cb3fbee1b9f59a67ad636633 (diff) | |
| download | Tango-87973c0cc97ba449e2b17c92ff6eb68e2a28a871.tar.gz Tango-87973c0cc97ba449e2b17c92ff6eb68e2a28a871.zip | |
thread winder improvements
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c index fdae44171..7b5da0e65 100644 --- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c +++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c @@ -165,7 +165,7 @@ uint32_t ThreadLengthCBFunction(uint32_t IfIndex, uint32_t ReadValue) totalLength+=length; } -#warning control disabled +//#warning control disabled CurrentProcessedLength+=length; PosDif[MotorDataIndex] = CurrentPosition; @@ -297,7 +297,7 @@ uint32_t ThreadControlCBFunction(uint32_t IfIndex, uint32_t ReadValue) avreageSampleValue += MotorSamples[index][i]; avreageSampleValue = avreageSampleValue / MotorsControl[index].pvinputfilterfactormode; //Stop Execution if the dancer moves too much -#warning need to disable this in the first second of the job execution + if ((abs(avreageSampleValue)> DancerStopActivityLimit[index])&&(JobCounter > eOneSecond)) { EndState(CurrentJob); |
