From 433bcb53d79ac0bae8322e2cb40607214c1581b4 Mon Sep 17 00:00:00 2001 From: Avi Levkovich Date: Mon, 4 Jun 2018 10:21:57 +0300 Subject: remove compilation error (replace MotorGetPositionFromFPGA_Res with MotorGetPosition) --- Software/Embedded_SW/Embedded/Modules/Thread/Thread_print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Embedded_SW/Embedded/Modules/Thread') 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) -- cgit v1.3.1