Browse Source

cmAudDsp.c : Added serial port handle to the audioSys configuration record.

master
kevin.larke 4 years ago
parent
commit
84243b69aa
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      cmAudDsp.c

+ 3
- 1
cmAudDsp.c View File

@@ -394,7 +394,8 @@ cmAdRC_t _cmAdSetup( cmAd_t* p )
394 394
     // BUG BUG BUG - each sub-system should have it's own network 
395 395
     // manager, and socket port.
396 396
 
397
-    p->asCfgArray[i].cfg.netH    = p->netH;
397
+    p->asCfgArray[i].cfg.netH        = p->netH;
398
+    p->asCfgArray[i].cfg.serialPortH = p->serialPortH;
398 399
 
399 400
     for(j=0; j<p->asCfgArray[i].cfg.ssCnt; ++j)
400 401
     {
@@ -407,6 +408,7 @@ cmAdRC_t _cmAdSetup( cmAd_t* p )
407 408
   return rc;
408 409
 }
409 410
 
411
+
410 412
 cmAdRC_t _cmAdCreateSerialPort( cmAd_t* p )
411 413
 {
412 414
   cmAdRC_t rc = kOkAdRC;

Loading…
Cancel
Save