X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fmt%2Fss_timer.c;h=2f29263c726627bdf398a7f41eb20ff85acbaa46;hb=def50dc175cebc67238db5f1acd5ff322a2279bd;hp=0d0fffce26433dbfc9041b38902c2b85c87ba1c9;hpb=1616921700a3c7541f1df6dd2678f9ee4d8e933b;p=o-du%2Fl2.git diff --git a/src/mt/ss_timer.c b/src/mt/ss_timer.c index 0d0fffce2..2f29263c7 100644 --- a/src/mt/ss_timer.c +++ b/src/mt/ss_timer.c @@ -163,10 +163,10 @@ S16 units; /* period units*/ PFS16 tmrFnct; /* timer function, typically SActvTmr */ #endif { - S16 ret; - /* ss015.301 - Enclosed all timer activation functions in a union. */ - SsTmrActvFn ssTmrActvFn; - /* ss041.103 - Moved handling to STmrRegHndlr */ + S16 ret; + /* ss015.301 - Enclosed all timer activation functions in a union. */ + SsTmrActvFn ssTmrActvFn; + /* ss041.103 - Moved handling to STmrRegHndlr */ ssTmrActvFn.mtFlag = FALSE; ssTmrActvFn.actvFnc.tmrActvFn = tmrFnct; @@ -337,13 +337,13 @@ SsTmrActvFn ssTmrActvFn; /* timer function */ #endif /* SS_MULTIPLE_PROCS */ { #if (ERRCLASS & ERRCLS_INT_PAR) - U8 i; + uint8_t i; #endif S16 ret; SsTmrEntry *tmr; #ifdef SS_MULTIPLE_PROCS #if (ERRCLASS & ERRCLS_INT_PAR) - U16 procIdIdx; + uint16_t procIdIdx; #endif /* ERRCLASS & ERRCLS_INT_PAR */ #endif /* SS_MULTPLE_PROCS */ @@ -509,7 +509,7 @@ SsTmrActvFn ssTmrActvFn; /* timer function */ #else && (osCp.tmrTbl[i].ssTmrActvFn.actvFnc.tmrActvFn == ssTmrActvFn.actvFnc.tmrActvFn) #endif - && (osCp.tmrTbl[i].interval == (U32) ((period * SS_TICKS_SEC) / units))) + && (osCp.tmrTbl[i].interval == (uint32_t) ((period * SS_TICKS_SEC) / units))) { /* is this timer in use ? (unexpired) */ if (osCp.tmrTbl[i].used == TRUE) @@ -537,7 +537,7 @@ SsTmrActvFn ssTmrActvFn; /* timer function */ #endif /* SS_MULTIPLE_PROCS */ tmr->ownerEnt = ent; tmr->ownerInst = inst; - tmr->interval = (U32) ((period * SS_TICKS_SEC) / units); + tmr->interval = (uint32_t) ((period * SS_TICKS_SEC) / units); tmr->ssTmrActvFn.mtFlag = ssTmrActvFn.mtFlag; /* ss041.103 */ @@ -808,7 +808,7 @@ SsTmrActvFn ssTmrActvFn; /* timer function */ SsTmrEntry *tmr; #ifdef SS_MULTIPLE_PROCS #if (ERRCLASS & ERRCLS_INT_PAR) - U16 procIdIdx; + uint16_t procIdIdx; #endif /* ERRCLASS & ERRCLS_INT_PAR */ #endif /* SS_MULTIPLE_PROCS */ @@ -963,7 +963,7 @@ SsTmrActvFn ssTmrActvFn; /* timer function */ #else && osCp.tmrTbl[idx].ssTmrActvFn.actvFnc.tmrActvFn == ssTmrActvFn.actvFnc.tmrActvFn #endif - && osCp.tmrTbl[idx].interval == (U32) ((period * SS_TICKS_SEC) / units)) + && osCp.tmrTbl[idx].interval == (uint32_t) ((period * SS_TICKS_SEC) / units)) { break; }