Fix compile error
...as suggested by Peter Pearse Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
5252ed9520
commit
7ec68862a2
|
@ -37,7 +37,7 @@
|
||||||
#define TIMER_LOAD_VAL 0
|
#define TIMER_LOAD_VAL 0
|
||||||
|
|
||||||
/* macro to read the 32 bit timer */
|
/* macro to read the 32 bit timer */
|
||||||
#define READ_TIMER (*(volatile ulong *)(CFG_TIMERBASE+TCRR))
|
#define READ_TIMER (*((volatile ulong *)(CFG_TIMERBASE+TCRR)))
|
||||||
|
|
||||||
static ulong timestamp;
|
static ulong timestamp;
|
||||||
static ulong lastinc;
|
static ulong lastinc;
|
||||||
|
|
Loading…
Reference in New Issue