mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-10 20:52:22 -04:00
sh: update sh2/sh2a timer coding style
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
1e15ff9993
commit
85cb052ee4
@ -87,7 +87,7 @@ static unsigned long get_usec (void)
|
|||||||
/* return msec */
|
/* return msec */
|
||||||
ulong get_timer(ulong base)
|
ulong get_timer(ulong base)
|
||||||
{
|
{
|
||||||
return (get_usec()/1000) - base;
|
return (get_usec() / 1000) - base;
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_timer(ulong t)
|
void set_timer(ulong t)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user