Skip to content
Snippets Groups Projects
Commit 066bebd6 authored by Peter Pearse's avatar Peter Pearse
Browse files

Bracket READ_TIMER macro in cpu/arm1136/omap24xx/interrupts.c

to prevent compilation error.

Signed-off-by: default avatarPeter Pearse <peter.pearse@arm.com>
parent 7a837b73
No related merge requests found
......@@ -37,7 +37,7 @@
#define TIMER_LOAD_VAL 0
/* 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 lastinc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment