Merge branch 'master' of gitea.larke.org:klarke/libcm

This commit is contained in:
kevin.larke 2020-03-09 14:45:07 -04:00
commit 6240b8f9a8

View File

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