]> rtime.felk.cvut.cz Git - arc.git/blobdiff - arch/ppc/mpc55xx/drivers/sys_tick.c
merge with pdur2
[arc.git] / arch / ppc / mpc55xx / drivers / sys_tick.c
index 19267186e3a34832f74122d3d96e51b4fa5df0fd..2145626bafdddf86e1936b2444a731618417ccdf 100644 (file)
@@ -94,14 +94,14 @@ TickType Os_SysTickGetValue( void )
 {\r
        uint32_t timer = get_spr(SPR_DECAR) - get_spr(SPR_DEC);\r
        return (timer);\r
-}
-
-TickType Os_SysTickGetElapsedValue( uint32_t preValue ) {
-       uint32_t curr;
-       uint32_t max;
-
-       curr = get_spr(SPR_DEC);
-       max  = get_spr(SPR_DECAR);
-       return Os_CounterDiff((max - curr),preValue,max);
-}
+}\r
+\r
+TickType Os_SysTickGetElapsedValue( uint32_t preValue ) {\r
+       uint32_t curr;\r
+       uint32_t max;\r
+\r
+       curr = get_spr(SPR_DEC);\r
+       max  = get_spr(SPR_DECAR);\r
+       return Os_CounterDiff((max - curr),preValue,max);\r
+}\r
 \r