From 407fda80e0b101a795f7dd1fa6502d7fca85a908 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Wed, 17 Mar 2010 15:55:04 -0400 Subject: [PATCH] fix typo in tmr.h (which cause tmr_enable register to have the wrong address) --- lib/include/tmr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/include/tmr.h b/lib/include/tmr.h index 073ed6e62..69cbb44b4 100644 --- a/lib/include/tmr.h +++ b/lib/include/tmr.h @@ -22,7 +22,7 @@ #define TMR_REGOFF_ENBL (0x1e) /* one enable register to rule them all */ -#define TMR_ENBL ((volatile uint16_t *) TMR0_BASE + TMR_REGOFF_ENBL) +#define TMR_ENBL ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_ENBL)) /* Timer 0 registers */ #define TMR0_COMP1 ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_COMP1))