diff --git a/cmRtSys.c b/cmRtSys.c index 998b78e..c4c39d6 100644 --- a/cmRtSys.c +++ b/cmRtSys.c @@ -1329,12 +1329,26 @@ cmRtRC_t cmRtSysNetReport( cmRtSysH_t h ) { cmRptPrintf(p->err.rpt,"Sub-system:%i\n",i); if( cmRtNetIsValid(p->ssArray[i].netH)) - cmRtNetDoSync(p->ssArray[i].netH); + cmRtNetReport(p->ssArray[i].netH); } return rc; } +cmRtRC_t cmRtSysNetReportSyncEnable( cmRtSysH_t h, bool enableFl ) +{ + cmRtRC_t rc = kOkRtRC; + cmRt_t* p = _cmRtHandleToPtr(h); + unsigned i = 0; + for(; issCnt; ++i) + { + cmRptPrintf(p->err.rpt,"Sub-system:%i\n",i); + if( cmRtNetIsValid(p->ssArray[i].netH)) + cmRtNetReportSyncEnable(p->ssArray[i].netH,enableFl); + } + return rc; +} + cmRtRC_t cmRtSysNetGetHandle( cmRtSysH_t h, unsigned rtSubIdx, cmRtNetH_t* hp ) { cmRtRC_t rc = kOkRtRC; diff --git a/cmRtSys.h b/cmRtSys.h index 6c7820d..4774f81 100644 --- a/cmRtSys.h +++ b/cmRtSys.h @@ -327,6 +327,7 @@ extern "C" { bool cmRtSysNetIsInitialized( cmRtSysH_t h ); cmRtRC_t cmRtSysNetDoSync( cmRtSysH_t h ); cmRtRC_t cmRtSysNetReport( cmRtSysH_t h ); + cmRtRC_t cmRtSysNetReportSyncEnable( cmRtSysH_t h, bool enableFl ); cmRtRC_t cmRtSysNetGetHandle( cmRtSysH_t h, unsigned rtSubIdx, cmRtNetH_t* hp );