aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-12-17 16:22:27 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-12-17 16:22:27 +0200
commit39cf804612a97dfb848ac308a1b40bafc3780783 (patch)
tree1f6cdef99785fa0e3806a42598512cb6bd4e1cc7 /Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
parent283c4c55b62346772a5d1b48f4efc2504067cbfc (diff)
downloadTango-39cf804612a97dfb848ac308a1b40bafc3780783.tar.gz
Tango-39cf804612a97dfb848ac308a1b40bafc3780783.zip
some small changes
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c6
1 files changed, 5 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 c3fb17460..8b72c1a30 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -629,6 +629,10 @@ uint32_t ThreadControlCBFunction(uint32_t IfIndex, uint32_t ReadValue)
//pooler dancer is right sided: data is opposite
TranslatedReadValue = (-1*TranslatedReadValue);
}
+#ifdef BTSR_ROTATED_WINDER_TFU
+ if (index == WINDER_MOTOR)
+ TranslatedReadValue = (-1*TranslatedReadValue);
+#endif
#ifdef FOUR_WINDERS
if (index == WINDER_MOTOR)
{
@@ -653,7 +657,7 @@ uint32_t ThreadControlCBFunction(uint32_t IfIndex, uint32_t ReadValue)
TranslatedReadValue = (-1*TranslatedReadValue);
}*/
#endif
- if (index == POOLER_MOTOR)
+ if (index == WINDER_MOTOR)
{
//pooler dancer is right sided: data is opposite
JobCounter++;