diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-24 13:29:36 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-24 13:29:36 +0200 |
| commit | 9e7d86a4b8a67d4b94d33600a34f617b51abc426 (patch) | |
| tree | 2ab2cc9c9d1eafcead62131faddcf9fe90d0ba0a /Software/Embedded_SW/Embedded/Modules/Control | |
| parent | 7fff53b4e158212572dd0d83b5628e799e05ba01 (diff) | |
| parent | 91d4a6eceb00882a0898016e743130d62156e33b (diff) | |
| download | Tango-9e7d86a4b8a67d4b94d33600a34f617b51abc426.tar.gz Tango-9e7d86a4b8a67d4b94d33600a34f617b51abc426.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control')
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 2 | ||||
| -rw-r--r-- | Software/Embedded_SW/Embedded/Modules/Control/control.c | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c index e22125a81..59591769b 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c @@ -45,7 +45,7 @@ Task_Handle Millisecond_Task_Handle; /******************** Definitions ********************************************/ #define INVALID_MSG_ID 0xFFFF -#define MAX_TANGO_CONTROL_DEVICES 200 + /******************** STRUCTURES AND ENUMs ********************************************/ typedef struct MillisecMotorData { diff --git a/Software/Embedded_SW/Embedded/Modules/Control/control.c b/Software/Embedded_SW/Embedded/Modules/Control/control.c index 37b3ff943..fc843b78b 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/control.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/control.c @@ -262,7 +262,7 @@ uint32_t millisecondCounter = 0; void OneMilliSecondControlInterrupt(UArg arg0) { ControlMessageStruc Message; - uint32_t TenmillisecondCounter = 0; + //uint32_t TenmillisecondCounter = 0; ROM_IntMasterDisable(); ROM_TimerIntClear(Control_timerBase, TIMER_TIMA_TIMEOUT); // Clear the timer interrupt @@ -278,10 +278,6 @@ void OneMilliSecondControlInterrupt(UArg arg0) //ROM_TimerDisable(Control_timerBase, TIMER_A); return; } - if (millisecondCounter%10 == 0) - { - TenmillisecondCounter = millisecondCounter; - } //send message to the control task Message.messageId = OneMillisec; |
