diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2020-08-26 11:58:30 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2020-08-26 11:58:30 +0300 |
| commit | e4df56a8e019cafbea89e3bdb93c1b4199c75258 (patch) | |
| tree | e087d6ccf575a6e4495e441fe8a3783ed2a2d0b2 /Software/Embedded_SW/Embedded/Modules/Thread/Thread.h | |
| parent | eaec96c06d698cd9270daf834904da0424049042 (diff) | |
| parent | f851e980e49a4737e03335665b9c3a3a529ea326 (diff) | |
| download | Tango-e4df56a8e019cafbea89e3bdb93c1b4199c75258.tar.gz Tango-e4df56a8e019cafbea89e3bdb93c1b4199c75258.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Thread/Thread.h')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Thread/Thread.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h b/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h index aea0dd93a..1f2da8dc0 100644 --- a/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h +++ b/Software/Embedded_SW/Embedded/Modules/Thread/Thread.h @@ -17,6 +17,7 @@ #include "../control/pidalgo.h" #include "thread_ex.h" +#include "drivers/SSI_Comm/SSI_Comm.h" #define NORMAL_COEF_DIVIDER 100 typedef struct @@ -56,7 +57,13 @@ typedef struct #define MAX_SYSTEM_DANCERS (HARDWARE_DANCER_TYPE__RightDancer+1) extern TimerMotors_t ThreadMotorIdToMotorId[MAX_THREAD_MOTORS_NUM]; + +#ifdef FOUR_WINDERS +extern Dancers_4_Winders ThreadMotorIdToDancerId[MAX_THREAD_MOTORS_NUM]; +#else extern HardwareDancerType ThreadMotorIdToDancerId[MAX_THREAD_MOTORS_NUM]; +#endif + extern HardwarePidControlType ThreadMotorIdToControlId[MAX_THREAD_MOTORS_NUM]; extern bool BreakSensorenabled; |
