aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2018-06-04 10:21:57 +0300
committerAvi Levkovich <avi@twine-s.com>2018-06-04 10:21:57 +0300
commit433bcb53d79ac0bae8322e2cb40607214c1581b4 (patch)
treec6946e541f486d29a601fe44b6030c95281ae451 /Software/Embedded_SW/Embedded/Modules/Thread
parenteeba1f2f7571dc5bfc299444d99cf643677698c5 (diff)
downloadTango-433bcb53d79ac0bae8322e2cb40607214c1581b4.tar.gz
Tango-433bcb53d79ac0bae8322e2cb40607214c1581b4.zip
remove compilation error (replace MotorGetPositionFromFPGA_Res with MotorGetPosition)
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c2
1 files changed, 1 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 cc3e317fe..0d4bb8b2a 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -139,7 +139,7 @@ uint32_t ThreadLengthCBFunction(uint32_t IfIndex, uint32_t ReadValue)
LOG_ERROR (IfIndex, "Wrong Motor");
return 0xFFFFFFFF;
}
- CurrentPosition = MotorGetPositionFromFPGA_Res(ThreadMotorIdToMotorId[index]);
+ CurrentPosition = MotorGetPosition(ThreadMotorIdToMotorId[index]);
if (CurrentPosition == 0)
return; //unusable data
if (initialpos == 0xFFFF)