aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-03-19 15:51:40 +0200
committerShlomo Hecht <shlomo@twine-s.com>2018-03-19 15:51:40 +0200
commit8357cc0350ad2b92c69fd20b8dac7e87014f0e34 (patch)
treea896a3f177dadb3c67f64cd5a41811016cfdf2a1 /Software/Embedded_SW/Embedded/Modules/Thread/Thread.h
parentace16e89b777d94d9a655fef27aa58c763f5b378 (diff)
downloadTango-8357cc0350ad2b92c69fd20b8dac7e87014f0e34.tar.gz
Tango-8357cc0350ad2b92c69fd20b8dac7e87014f0e34.zip
updating to the latest PMR
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread.h')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Thread/Thread.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h b/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h
index f0dd35da9..f568f9816 100644
--- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h
+++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h
@@ -45,7 +45,18 @@ typedef struct
int32_t pulsepermmspring;
int id; //HardwareDancerType
}DancerConfigStruc;
-#define MAX_THREAD_MOTORS_NUM HARDWARE_MOTOR_TYPE__WinderMotor +1
+
+typedef enum threadMotorsEnum
+{
+ FEEDER_MOTOR,
+ DRYER_MOTOR,
+ POOLER_MOTOR,
+ WINDER_MOTOR,
+ SCREW_MOTOR,
+ MAX_THREAD_MOTORS_NUM
+}threadMotorsEnum;
+
+extern uint32_t ThreadMotorIdToMotorId[MAX_THREAD_MOTORS_NUM];
extern MotorConfigStruc MotorsCfg[MAX_THREAD_MOTORS_NUM];