From d60f78be71fd705cb6bbea8ecb5b5c49858c973e Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Thu, 10 May 2018 13:57:03 +0300 Subject: change motors config, improve initialization and control, first control run --- .../Embedded_SW/Embedded/Modules/Control/MillisecTask.c | 13 +++++++++---- Software/Embedded_SW/Embedded/Modules/Control/control.c | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'Software/Embedded_SW/Embedded/Modules/Control') diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c index 12603b5ee..05d582eac 100644 --- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c +++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c @@ -29,6 +29,8 @@ #include "drivers/Heater/TemperatureSensor.h" #include "drivers/FPGA/FPGA_SPI_Comm.h" +#include "modules/thread/thread_ex.h" + /******************** Definitions ********************************************/ #define INVALID_MSG_ID 0xFFFF #define MAX_TANGO_CONTROL_DEVICES 200 @@ -89,7 +91,7 @@ void MillisecInit(void) MillisecMsgQ = Mailbox_create(sizeof(MillisecMessageStruc), 20, NULL,&eb); for (i=0;i