aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
diff options
context:
space:
mode:
authorAvi Levkovich <avi@twine-s.com>2018-05-08 13:32:45 +0300
committerAvi Levkovich <avi@twine-s.com>2018-05-08 13:32:45 +0300
commitac176ba544f9936f4d4e1fb3ceb8762d21c86b11 (patch)
treea26b4b6d4ed2fd339b56c0412126a6e964e76014 /Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
parentf3959e5698c65a3d431851d62b9cfe62c28870a6 (diff)
downloadTango-ac176ba544f9936f4d4e1fb3ceb8762d21c86b11.tar.gz
Tango-ac176ba544f9936f4d4e1fb3ceb8762d21c86b11.zip
Add define to FPGA_GetBusy in milisec task
Diffstat (limited to 'Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c')
-rw-r--r--Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
index 8f45ac9ab..450bd46ce 100644
--- a/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
+++ b/Software/Embedded_SW/Embedded/Modules/Control/MillisecTask.c
@@ -224,7 +224,10 @@ uint32_t MillisecLoop(uint32_t tick)
Onesecond_Tick = (tick%eOneSecond == 0) ?true:false;
//gather Motor data from FPGA
- FPGA_GetBusy(); //load the busy motor information to all motors
+ #ifndef EVALUATION_BOARD
+ FPGA_GetBusy(); //load the busy motor information to all motors
+ #endif
+
for (Motor_i = 0;Motor_i < NUM_OF_MOTORS;Motor_i++)
{
if (MotorDriverResponse[Motor_i].Busy == true)