cmRtSys.h/c : Added cmRtSysNetReportSyncEnable()
This commit is contained in:
parent
b16d338592
commit
7545105da1
16
cmRtSys.c
16
cmRtSys.c
@ -1329,12 +1329,26 @@ cmRtRC_t cmRtSysNetReport( cmRtSysH_t h )
|
|||||||
{
|
{
|
||||||
cmRptPrintf(p->err.rpt,"Sub-system:%i\n",i);
|
cmRptPrintf(p->err.rpt,"Sub-system:%i\n",i);
|
||||||
if( cmRtNetIsValid(p->ssArray[i].netH))
|
if( cmRtNetIsValid(p->ssArray[i].netH))
|
||||||
cmRtNetDoSync(p->ssArray[i].netH);
|
cmRtNetReport(p->ssArray[i].netH);
|
||||||
}
|
}
|
||||||
return rc;
|
return rc;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cmRtRC_t cmRtSysNetReportSyncEnable( cmRtSysH_t h, bool enableFl )
|
||||||
|
{
|
||||||
|
cmRtRC_t rc = kOkRtRC;
|
||||||
|
cmRt_t* p = _cmRtHandleToPtr(h);
|
||||||
|
unsigned i = 0;
|
||||||
|
for(; i<p->ssCnt; ++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 cmRtSysNetGetHandle( cmRtSysH_t h, unsigned rtSubIdx, cmRtNetH_t* hp )
|
||||||
{
|
{
|
||||||
cmRtRC_t rc = kOkRtRC;
|
cmRtRC_t rc = kOkRtRC;
|
||||||
|
@ -327,6 +327,7 @@ extern "C" {
|
|||||||
bool cmRtSysNetIsInitialized( cmRtSysH_t h );
|
bool cmRtSysNetIsInitialized( cmRtSysH_t h );
|
||||||
cmRtRC_t cmRtSysNetDoSync( cmRtSysH_t h );
|
cmRtRC_t cmRtSysNetDoSync( cmRtSysH_t h );
|
||||||
cmRtRC_t cmRtSysNetReport( 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 );
|
cmRtRC_t cmRtSysNetGetHandle( cmRtSysH_t h, unsigned rtSubIdx, cmRtNetH_t* hp );
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user