aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-05-07 15:01:32 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-05-07 15:01:32 +0300
commite55b98655d1efb66e87f254f8c8869debd4900ba (patch)
tree612844e50db89bef37667d7b9672d4c4fa29654e /Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
parent5a0f1a75ea1443f50f600baaa7413a4d4fbbfb90 (diff)
downloadTango-e55b98655d1efb66e87f254f8c8869debd4900ba.tar.gz
Tango-e55b98655d1efb66e87f254f8c8869debd4900ba.zip
unify hardware motor type and remove some warnings
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
index 6c97c2e8f..5a8c3df76 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread_init.c
@@ -50,7 +50,7 @@ uint32_t InternalWindingConfigMessage(JobSpool* request)
uint32_t MotorsConfigMessage(HardwareMotor * request)
{
uint32_t status = PASSED;
- int Motor_i;
+ TimerMotors_t Motor_i;
MotorDriverConfigStruc MotorDriverConfig;
Motor_i = request->hardwaremotortype;
/*for (i=0;i<MAX_THREAD_MOTORS_NUM;i++)