diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2019-09-03 14:35:49 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2019-09-03 14:35:49 +0300 |
| commit | b8aef0537ad419b20efba682bfd06caeb53fe444 (patch) | |
| tree | 91867a4df1b28c9af879083a6c3e3cd1a245f2d4 /Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c | |
| parent | 62905aaa550ea584f29feae2ba35fc6df6c42c8f (diff) | |
| download | Tango-b8aef0537ad419b20efba682bfd06caeb53fe444.tar.gz Tango-b8aef0537ad419b20efba682bfd06caeb53fe444.zip | |
improve winding, logs, pressure handling
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c index e01d12a05..20045e5fb 100644 --- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c +++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_Winder.c @@ -322,7 +322,7 @@ uint32_t Screw100msecDirectionChange(uint32_t deviceID, uint32_t BusyFlag) #ifdef READ_SCREW_ENCODER int WinderRun; WinderRun = abs(ScrewLocationRun[1] - ScrewLocationRun[0]); - if ((WinderRun < 50000)&&(Add100 == false)) + if /*((WinderRun < 50000)&&(Add100 == false))*/(Add100 == false) { WinderRunSum+=WinderRun; WinderRunSamples++; |
