aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2018-06-03 15:04:23 +0300
committerAvi Levkovich <avi@twine-s.com>2018-06-03 15:04:23 +0300
commit62451ffb05addfea9f387e09d5dc1bdaca8971b7 (patch)
tree4697d0a0ae60c296b0bc24a7dded6f4e3e0eac72 /Software/Embedded_SW/Embedded/Modules/Thread
parent34b3f33ec9ccb682c430b3c9e206507d0a396e1c (diff)
downloadTango-62451ffb05addfea9f387e09d5dc1bdaca8971b7.tar.gz
Tango-62451ffb05addfea9f387e09d5dc1bdaca8971b7.zip
Add ADC Sequence 1 for ADC0 in order to work with more than 16 channels
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 b0bdfea4d..fb7a7651a 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c
@@ -136,7 +136,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 (initialpos == 0xFFFF)
initialpos = CurrentPosition;
positionDiff = Control_Delta_Position_Pass(CurrentPosition,PreviousPosition);