diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2018-05-08 14:26:40 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2018-05-08 14:26:40 +0300 |
| commit | db0c657de9daf7f4d99e3167a337ebcd79771d8e (patch) | |
| tree | f5c99ac8e967bc7d3f513d7a47640f5e96f041cc /Software/Embedded_SW/Embedded/Communication/CommunicationTask.c | |
| parent | dc911b096b06388d9bf84d86d35c8d19c84d6e4b (diff) | |
| parent | 706b7f128efe759c7f8efe5379b572aca45e8c7e (diff) | |
| download | Tango-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.c | 8 |
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 */ |
