aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-05-08 14:26:40 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-05-08 14:26:40 +0300
commitdb0c657de9daf7f4d99e3167a337ebcd79771d8e (patch)
treef5c99ac8e967bc7d3f513d7a47640f5e96f041cc /Software/Embedded_SW/Embedded/Communication/CommunicationTask.c
parentdc911b096b06388d9bf84d86d35c8d19c84d6e4b (diff)
parent706b7f128efe759c7f8efe5379b572aca45e8c7e (diff)
downloadTango-db0c657de9daf7f4d99e3167a337ebcd79771d8e.tar.gz
Tango-db0c657de9daf7f4d99e3167a337ebcd79771d8e.zip
Merge trial
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication/CommunicationTask.c')
-rw-r--r--Software/Embedded_SW/Embedded/Communication/CommunicationTask.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c b/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c
index dfbb57b06..acba7ff00 100644
--- a/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c
+++ b/Software/Embedded_SW/Embedded/Communication/CommunicationTask.c
@@ -161,8 +161,12 @@ void communicationTxTask(UArg arg0, UArg arg1)
*/
initArray(1);
- SetCommunicationPath(isUART);
- //ui32RxCount = 0;
+ #ifdef USE_USB
+ SetCommunicationPath(isUSB);
+ #else
+ SetCommunicationPath(isUART);
+ #endif
+ ui32RxCount = 0;
CommunicationTxMsgQ = Mailbox_create(sizeof(CommTxMessageStruc), 10, NULL,NULL);
/* Block while the device is NOT connected to the USB */